Friday, December 9, 2016

Remember the Memory Game?

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
こんにちは! That means "Hello!" in Japanese. In this post, there will be a speed video for my memory game! I'll also have some snips to show.




 There are 23 variables used in the program. Let's talk about one of my favorites, speedFactor.The speedFactor variable would be in a loop that made the LED's go faster after a level, if I changed it by 5, that part of the loop would be effected. Here is an example, say I wanted to teleport to a certain village in Minecraft. If I wanted to do that, I would put in coordinates for the X, Y,  and Z position. Changing 1 position by a certain number would effect where I would end up.

EXERCISES AND RESULTS
~~~~~~~~~~~~~~~~~~~~~~~~~~
For the first problem, I had to figure out how to speed up the first level.
 Result: I used the speedFactor variable. When I changed it by 5, it was a bit faster. I changed it by 5 again, and it was even faster!(I found the game a bit easier when it was really fast.)

The second one was about changing the tones of the buzzer.
Result: Me shouting at the computer saying "THE BUZZER DOESN'T MAKE ANY SOUND!!!!!!!" I checked the program and everything was good, but it might just be a hardware problem.

For the final one, I needed to make the LED's blink 3 times if I lost the level.
Result: I couldn't make it blink 3 times, but I made it blink 2 or 4 times.

I had a bonus hardware problem, but AGAIN, it had something to do with the buzzer. It took me a bit to finish these problems, but I pulled through.

I hope you enjoyed this post. Please like and comment! I'll see you in the next unboxing video. Bye guys!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

No comments:

Post a Comment