Shield Games

Example Files:

  1. Download and extract the example files
  2. Read and upload functions.ino to learn how to break a program into sections.
  3. Write new programs to replicate the other Shield Games.


setup() and loop() are functions, but you can also create your own. This becomes essential when writing larger programs to keep them organized and greatly reduce the amount of text.

Timing Game

LEDs are illuminated up and down. One button stops, the other resumes, and the pot adjusts game speed. The objective is for the player to stop the LEDs as close to the top as possible.

Random Reaction

LEDs light up randomly, for random periods of time. The objective is for the player to press the button when the top LED is illuminated (win). The player will have to wait through a countdown if they miss the top LED.

Reflex Tester

After the starting tone, there will be a delay (random period of time) before the reflex tone. The objective is to react as quickly as possible. Score will be displayed with LEDs and corrosponding tone from the speaker. If the player presses the button too early, or not at all, they will receive a zero score.