Introduction: Arduino LED Rocker Game!
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
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!
Participated in the
Digital Life 101 Challenge