Yesterday, we concluded our 2nd part of creating a Red Light Reflex Game during our Tech Tuesday circuits livestream. The game involves 5 lights turning on and off in a sequence. There's one button that you have to press when the middle, red light is on. If you hit the button at the right time, you get a point! It's a really simple game to play but extremely satisfying to see it all come together with multiple wires, lights and the screen to display your score. At this point in the series, there's just one session left next Tuesday where we'll be adding the character display to show instructions and your score.
Here's a rundown of the lessons we've completed to get us to this point.
Session 1: Setting Up The Lights
In this session, we show how to wire up the lights and create the program to make them sequence properly.
Session 2: Adding a Button Input
Now that your lights turn on in order, we need to add the game element. Here, we add a button to be pressed when the red light is on and track if pressed at the right time.
Session 3: Add A Display
In our final session for the Red Light Reflex game, we'll be adding a character display to show the score, instructions or anything else the user would need to see to play. We had a bit of a technical snafu while recording, so the 30-minute video was split into 2 parts. Both parts are below: