The Count Game is a simple yet engaging game where players must keep track of a running count by adding or subtracting numbers. The goal is to reach a target score within a given number of moves.
- โ User can increase or decrease the count using buttons.
- โ Displays current count and remaining moves.
- โ Tracks high scores.
- โ Win or lose message displayed at the end.
- โ Fully responsive and works on any device.
- HTML (Structure)
- CSS (Styling)
- JavaScript (Game Logic)
- Start the Game - The game begins with a count of 0.
- Click Buttons - Use the +1, +2, -1, -2 buttons to increase or decrease the count.
- Reach the Target - Try to match the target number within the given moves.
- Win or Lose - If you reach the target, you win! If you run out of moves, you lose.
- Restart - Click Reset to play again.
- Download the files (
index.html,style.css,script.js). - Open
index.htmlin a web browser. - Start playing!
- Upload the files to a hosting service or use services like GitHub Pages to play online.
| Button | Action |
|---|---|
| +1 | Adds 1 to the count |
| +2 | Adds 2 to the count |
| -1 | Subtracts 1 from the count |
| -2 | Subtracts 2 from the count |
| Reset | Resets the game |
- โณ Add difficulty levels.
- ๐ Implement a leaderboard.
- ๐ต Include sound effects.
Feel free to fork this repository and submit pull requests with improvements! ๐
This project is open-source and available under the MIT License. good project5