This interactive game is a test of reaction and coordination. Two players with 6 buttons each will be facing each other, with 6 LEDs aligned with respective button from each player. The 6 LEDs will blink one at a time in random order, until, after a few seconds, only one random LED will remain lit. It is now up to the players to press the button that belongs to the now lit LED, and whoever is faster wins the round. The winner is announced with a separate blinking LED at his/her side of the board, and after a few seconds a new round will automatically begin.
Step 1: Building the Circuit
1.) Connect one side of each of player 2’s six buttons to A0-A5, and connect the other side to ground.
2.) Connect one side of each of player 1's six buttons to pin8-pin13, and connect the other side to ground.
3.) Connect one side of the 6 LED's to pin2-pin7, and connect the other side to ground through a 110ohm resistor.
4.) Connect one side of player 1's win indication LED to pin0, and the other side to ground through a 110ohm resistor.
5.) connect one side of player 2's win indication LED to pin1, and the other side to ground through a 110ohm resistor.
The board should now look accordingly to the above pictures.
Step 2: The Code
The code is unfortunately incomplete due to technical issues, so the current code cant be used in this project.
What is missing is an array code for the buttons, code to tell which button that needs to be pressed to win, code for who pressed first and that the winners LED should blink.
We have a be nice policy.
Please be positive and constructive.