top of page
chrome_kOnHvYowX3.png

How to Build

This will be where we show you how to assemble the proper pieces and provide the code needed in order to run this game smoothly.

How to Build: Image
IMG_3068 (1).jpg

The Game Board

This is where the game is played on

This is what your game board will look like once you print it out. All you need for this step is the board, a printer, and some colored ink.

How to Build: Image

Game Pieces

A little more complex than before, but that just means it's more fun. Once provided with the pieces for the game, follow the instructions given per game piece, as they may be slightly different. Finally, cut them out, fold, and glue as instructed per individual piece. Assemble the game piece box so the pieces can be stored! You're almost into the fun, just a bit more to do!

Here are the pieces:

​

Pyramid and storage box (with instructions)

​

Triangular Prism Piece (with instructions)

​

Cube Piece (with instructions)

Bring it on!
How to Build: Text

The Breadboard and RedBoard

This is the body of the game. It needs to be assembled as shown in the picture below in order to have the brain of the operation, the code, to work as well. The circuit diagram provided should be enough to allow you to set up the boards properly. Once this step is complete, connect your computer to the RedBoard using the USB cable

D2KbOxp_edited_edited_edited_edited_edited_edited_edited.jpg
How to Build: Text

The Code

C++ and Arduino

This is the brain of the game. It is what allows everything to be played and without it, nothing would run. The following links will have all the code you need to just copy-paste into your Arduino and C++ software respectively, so get ready to go!

How to Build: Text
Maya.png

Hover Game

When a player has to play the Hover game, they can jump straight into the game, meaning there is no button required to activate it. Then, they must place their hand above the photoresistor at a specific position. Once they have done this, press the red button so their position is locked in. They have two tries to get their hand at the correct position so the specified amount of light brightness for each level is hitting the photoresistor. The target brightness is displayed on the Serial Monitor, so make sure it is open while playing this game! It tells you if you completed the level, else it just displays the brightness that it read. If the player successfully completes all 4 levels, they win the game. Make sure the main Arduino code is running while playing this game as well.

There is a calibration that needs to be done for this challenge when the game is first set up. To do this:

​

  1. Open the main Arduino code in Arduino.

  2. Upload it to the arduino and load the Serial Monitor

  3. You should receive a message that tells you how to calibrate the photoreceptor and will output some kind of number.

  4. Take this number from the serial monitor and input it into the variable "int brightnessHigh=" right after the equals sign.

How to Build: Image
music_headphones_DJ_lights-102105.jpg

Music Challenge

Keep this file handy for when the Music Challenge comes up. Upload it and guess the song to win the challenge.

Press the blue button to activate this game.
When this challenge pops up, you will need to upload the code to the RedBoard again, as it is rather large in file size. Make sure the code is not on the same file as the main Arduino code above, or else the music code will not work!

How to Build: Image
dt_141104_brain_injury_headache_pain_800

Memory Challenge

The code for this game is included in the main Arduino code above. That will be all that's needed for this game aside from the breadboard and RedBoard itself, along with the button and the LED's that will actually light up.

​

When playing this game, the player will press the yellow button, which will then light up a sequence of flashing lights. They will then relay it back to the other players, who will check the Serial Monitor to verify if their answer is correct.

How to Build: Image
muscle-chest.jpg

Fitness Challenge

When a person is assigned a fitness challenge, they must draw a card from the gameboard. This card contains a task that they must complete in order to win the challenge. No code involved here! Just the cards on the board!

​

​

There will also be 32 cards needed to be cut out. You can find the cards by clicking the button below. Cut them out and place them on the board facedown where it says "FITNESS".

How to Build: Image
d2060a00-ac16-4c42-8fd5-08d536f5ac16_edi

Here are some pictures to go by...

If your finished electronics looks like this, you're good to go! It is critical you follow the instructions for assembling the electronics carefully, as 3 of the 4 challenges depend on this!

How to Build: Image

Your Gameboard!

Once the gameboard is printed out, the game pieces have been created, and the fitness challenge cards have been cut and stacked into a pile, here is what it should look like! The cards should be on top of "FITNESS" ideally but anywhere on the board is ok.

1b073649-5a96-4aa5-a468-0dcddca6cdd9.jpg
How to Build: Image
53b24c13-458e-4d25-aee1-79f623d49591_edi

Your Code!

This is an example of what your running code will look like when you are playing the game! It is best to have both the Arduino and C++ running side-by-side, as shown here.

How to Build: Image

Gameboard and Arduino combo

Keep them close together. Like this. It'll make it easier to play! As you can see, this is the final setup of the game. The USB cable connects the RedBoard to the computer, and the electronics and computer are near the gameboard. This will make gameplay very easy to carry out!

901678d0-14a5-494c-bcca-1507c6e17f1c_edited.jpg
How to Build: Image

You're all set!

At this point you should be done and all set up ready to play! Now you just need to know how to play... That'll be the next tab you need to visit!

celebration-of-light-e1501953580814.jpg
How to Build: Image
  • Facebook
  • Twitter
  • LinkedIn

©2020 by Code Four's Project. Proudly created with Wix.com

bottom of page