loading

This is a simple arduino game, pretty basic but insanely addictive. It's based on the blink without delay example of the Arduino website.

To play, just open the Serial Monitor, and press the button when the middle LED turns on. You'll get three lives before you lose. GOOD LUCK!!

Step 1: MATERIAL

You are going to need:

1. Arduino uno

2. 9 LEDs

3. 10 400ohm resistors

4. button

5. breadboard and some jumper wires

Step 2: The Build

Every LED should be connected with a resistor from pin 2 to pin 10.

Follow this fritz, then connect the button to pin 13 of the arduino (don't forget the pull down resistor).

Connect the ground GND pin to the ground rail of the breadboard

Step 3: The Software

Start with the blink without delay example in order to understand the final project.

Once done, load the final project.

Make sure that the proper board is selected!

Step 4: All Done!

You have three lives, every time you click the button when the light is not on the middle LED, you lose a life.

Once you run out of lives, the game restarts.

When you click the button when the light is on the middle LED, the lights rock faster.

Thank you and good luck!

<p>It is very nice:-)</p>
<p>Thank you for this post. I will give it a try. Nicely presented. </p>
Awesome project idea. One of my students made it. My only suggestion is to update the schematic to show how you wired up the button. I figured it out from the photos, but I could see some beginners having issues.
<p>Glad to know that it worked!!! if you want them to make a cool project, solder components on a pcb board, and then create a housing. it would be great</p>
<p>Thanks for the idea, I am debating if I want to try to make it into a 3d printable game. Also trying to figure out how to hook up an lcd or something to be able to display the level and game over. </p>
<p>How much voltages</p>
<p>5v is required for the LED to work</p>

About This Instructable

10,310views

66favorites

License:

More by Joe_barhouch:Arduino LED Rocker Game! 
Add instructable to: