0% found this document useful (0 votes)
39 views1 page

Reaction Game

This document describes a two-player reaction time game that uses an Arduino microcontroller, LEDs, buttons, a buzzer, and LCD display. The game tests players' reaction times by having them press their button as fast as possible when a green LED turns on at random intervals between 1-15 seconds. Players score points for being the fastest to react, with the first to get 5 points winning. It is designed to teach basic Arduino programming and use of components like LEDs, buttons, buzzers, breadboards, and LCD displays.

Uploaded by

surya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views1 page

Reaction Game

This document describes a two-player reaction time game that uses an Arduino microcontroller, LEDs, buttons, a buzzer, and LCD display. The game tests players' reaction times by having them press their button as fast as possible when a green LED turns on at random intervals between 1-15 seconds. Players score points for being the fastest to react, with the first to get 5 points winning. It is designed to teach basic Arduino programming and use of components like LEDs, buttons, buzzers, breadboards, and LCD displays.

Uploaded by

surya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Reaction Game

You have to design the circuit and code for a game with the following specifications in
TinkerCad (https://www.tinkercad.com/) :

It is a competitive two-player game designed to test and improve your reaction time. This game
incorporates a breadboard setup, a programmable microcontroller (Arduino Uno), and various
electronic components to create an engaging and interactive experience.

Game Setup:
At the heart of the game board lies the microcontroller, flanked by a single green LED, which
serves as the signal for action. Each player has a dedicated button. An I2C LCD display is
positioned on the breadboard's center to register their scores. The game is a race to 5 points—
the first player to reach this score triggers a celebratory sound, and the screen declares that
player the winner.

How to Play:
To initiate or restart the game, a player must perform a long press on their button for 5 seconds,
which resets both scores to zero. The game begins with the green LED turned off. Anticipation
builds as players wait for a long beep that signals them to prepare. Subsequently, within a
random timeframe of 1 to 15 seconds, the green LED lights up, prompting players to hit their
button as fast as possible.

Scoring:
The quickest to react presses their button, illuminating their score on the LCD display. If a player
jumps the gun and presses their button before the green light activates, they commit a 'false
start,' and their opponent is automatically awarded the point for that round.

Subsequent Rounds:
After a short interlude marked by another buzzer sound, the green LED is extinguished, and the
tension resets. The unpredictable wait time between 1 to 15 seconds resumes before the green
LED lights up once more, signaling the next chance to score.

Winning the Game:


The gameplay continues in this electrifying back-and-forth until a player reaches 5 points.
Victory is met with an amusing buzzer melody, and the display text changes to whichever player
has won, declaring their reflexes supreme.

Things you are expected to learn and implement:

1. How to use TinkerCad Circuits for basic Circuit simulation.


2. Basic Arduino (C/C++) Programming.
3. Driving basic components like LEDs and Buzzers using Arduino.
4. Taking inputs from push buttons.
5. How to use breadboards.
6. How to use I2C LCD Display with Arduino.

You can use this channel as a resource to learn these: Dronebotworkshop

You might also like