Brain Test
This game shows you how strong your brain is. As the game shows various light patterns making your brain memorize the order of the pattern. This game will have multiple levels showing a pattern of led lights and after the pattern is over you will be given 10 seconds to remake the pattern with no mistakes for each level. Each level will progressively get harder and harder.
Supplies
1 RGB LED
1 LCD 16x2 DISPLAY
7 330 OHMS RESISTORS
1 ARUDINO UNO
4 10K OMHS RESISTORS
3 PUSH BUTTONS
3 LEDS (RED, GREEN, YELLOW)
1 POTENTIOMETER
1 BUZZER
Gather All Materials
gather all the materials that will be needed for this game. This will help you get a clear vison on how you would like to place all the materials on your breadboard.
Wire All Materials
Wire All materials in the correct format. Meaning don't use the wrong resistors, don't put power to ground or ground to power since this will fry your computer and Arduino. Wring this properly will make your game work will no wringing errors. Use how I wired the components as a way to guide you.
Write the Code
In order to work the game you will be needed to write codes. So first step is to type out all the variables and pins that you need for this game (eg int ledred = 6; or int score = 0;). Then type out all the pinModes if the components that you chose is input or output. After that you will be needed to type out the each level in a while loop this will make the Arduino break out of it for each level making the game not bug out. After that you will be needed to download the library for the LCD and buzzer since those two components needs their own specific library.
Downloads
Final Game Look
This is a example on how the game looks like when it is done and fully wired and coded.