In this arduino project I am going to make a simple mini game with leds. In this game the leds turn on and off the one after the other very quickly. When you push the button you see in the images the led that is on remains on and all the other stop blinking. The aim of this mini game is to push the button and make the middle led (the red led) stay on. If you don't succeed in doing it you just let the button and try again.
Step 1: Materials
![Materials](https://cdn.instructables.com/FEQ/A685/IVHQHV1J/FEQA685IVHQHV1J.MEDIUM.jpg?width=614)
You will need :
Arduino uno
1 breadboard
cables
1 pushbutton
1 piezo buzzer
1 resistor
2 blue leds
2 green leds
2 yellow leds
1 red led
You will need :
Arduino uno
1 breadboard
cables
1 pushbutton
1 piezo buzzer
1 resistor
2 blue leds
2 green leds
2 yellow leds
1 red led
Step 2: Making the circuit
![Making the circuit](https://cdn.instructables.com/FP1/0OP6/IVHQHNP3/FP10OP6IVHQHNP3.MEDIUM.jpg)
Step 3: Code
DOWNLOAD
EmoticonEmoticon