Welcome to the Reaction Time Challenge Game! This web development project aims to provide users with an interactive game to test their reaction time. The game consists of three different challenges designed to challenge your reflexes.
-
Game 1: Click the Geometric Figure
- A random geometric figure appears on a white screen.
- Your goal is to click on the figure as quickly as possible once you spot it.
-
Game 2: Color Change Reaction
- The entire white screen changes color.
- Your task is to click on the screen as soon as the color change occurs.
-
Game 3: Sound Reaction
- A sound is played, and you need to click on the white screen immediately after hearing the sound.
- Each game allows the user three attempts to achieve the best reaction time.
- After completing three attempts for each game, the average reaction time is calculated.
- Users can choose to submit their reaction times to the records page (requires sign-in).
The main page provides an overview of the game and its mechanics. It includes a brief explanation of how the game works. Additionally, you will find a table displaying the top ten best reaction times achieved by players. The table includes the user's name, their reaction time in milliseconds, and their city. If perhaps the user wants to see more than ten records, he can get a PDF file with all the times submited to the platform.
To run the Reaction Time Challenge Game locally, follow these steps:
-
Clone the repository to your local machine using the following command:
git clone https://github.com/GuilhermeTeixeira13/ReactionTimeChallenge-Game.git
-
Navigate to the project directory:
cd ReactionTimeChallenge-Game
-
Open the
home.php
file in your preferred web browser. -
Start playing and test your reaction time!
Contributions to this project are more than welcome. If you have any improvements, bug fixes, or new features to propose, please feel free to open an issue or submit a pull request on this repository.