Arduino Rocker Game

by Shadowriadz in Circuits > Arduino

188 Views, 0 Favorites, 0 Comments

Arduino Rocker Game

Arduino Rocker Game

This is a small Arduino LED game, have fun!

Prepare Materials

1. Arduino uno

2. 9 LEDs

3. 10 400ohm resistors

4. breadboard and some jumper wires

5. button

Coding

code link - https://create.arduino.cc/editor/shadowraidz/2fe5...

This is the link to the code, the game starts with a fast LED light speed!

Play

92959538_316881002629875_7906582325721300992_n.jpg

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

You have 3 lives, once you run out of lives, the game restarts.

When you click the button in the middle light, the light will go faster