top of page
GAME DESIGN
Rainbow Run was coded in Arduino C, and the code was developed in 3 parts - Idle Mode, Rainbow Run, and Trivia Mode. In Idle Mode, the LEDs turn on and off in a rapid sequence, while the system waits for a button to be pressed indicating what game mode function to select. In Rainbow Run, the game randomly selects a number from an array and turns on the corresponding LED. It then waits for a matching button input, which when received adds a points to the proper score and turns off the LED, repeating until one player reaches 10 points. In Trivia Mode, the game randomly selects a number and prints the corresponding question from a question array. It then waits for a matching button input, which when received adds a points to the proper score and flashes the LEDs off, repeating until one player reaches 10 points.
The boxes were all designed in Adobe Illustrator and then created using Balsa Wood and a Laser Cutter. The boxes were created with a notched design so as to make it easy to remove one side of the box. Each box had five holes laser cut into one side for the LEDs, and one hole cut into the bottom of another side for the wires. To wire the LEDs, all positives and negatives within a box were soldered together so as to limit the number of wires leaving each box.
The buttons were created using a double layer system. The bottom layer is a piece of a 2 inch thick plank, which has two pieces of copper tape on it. A positive wire is soldered to one piece of tape, and a negative wire is soldered to the other. The top layer of the button is made from a laser cut piece of balsa wood. The wood was cut into a square, with one of five shapes cut out of the square. The square was glued on top of the bottom layer, and the cut out shape was then sanded down, with copper tape placed on one side and a 3D printed handle glued onto the other.
CODE
BUTTONS
BOXES
For detailed instructions on recreating Rainbow Run, please visit our Instructable.






bottom of page