Data Sheet

85 : circuit 4c
PROGRAM OVERVIEW
Generate a random order for the words to be displayed.
Show the starting countdown on the LCD.
Start a loop that will run 25 times (there are 25 words total). For each round:
A: Print the round number and the word to be guessed.
B: Display a countdown timer in the lower right-hand corner
of the screen that counts down the time limit for each round.
C: If the time limit runs out, play the losing song, print
“Game Over” and show the players final score.
D: If the player presses the button before the
time limit is up, advance to the next word.
If the player gets through all 25 words, play the winning song and print “YOU WIN!”
WHAT YOU
SHOULD SEE
The game begins with the category
of words, then runs through a short
countdown. When the first round starts,
the word to be guessed is displayed at
top left, and a countdown starts in the
bottom right. Each time the button is
pressed (before the timer expires) a new
word is displayed. If you win or lose, a
short song will play.
Open the Arduino IDE
Connect the RedBoard to a USB port on your computer.
Open the Sketch:
File > Examples > SIK_Guide_Code-V_4 > SIK_CIRCUIT_C-DIY WHO AM I
Select UPLOAD to program the sketch on the RedBoard.
SIK v4 Book Oct 13.indb 85 10/18/17 10:02 AM