Skip to content

amankumar808422/Count-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ† Count Game

๐Ÿ“Œ Description

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.

๐ŸŽฎ Features

  • โœ… 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.

๐Ÿ› ๏ธ Technologies Used

  • HTML (Structure)
  • CSS (Styling)
  • JavaScript (Game Logic)

๐Ÿš€ How to Play

  1. Start the Game - The game begins with a count of 0.
  2. Click Buttons - Use the +1, +2, -1, -2 buttons to increase or decrease the count.
  3. Reach the Target - Try to match the target number within the given moves.
  4. Win or Lose - If you reach the target, you win! If you run out of moves, you lose.
  5. Restart - Click Reset to play again.

๐Ÿ“ฆ Installation

Option 1: Run Locally

  1. Download the files (index.html, style.css, script.js).
  2. Open index.html in a web browser.
  3. Start playing!

Option 2: Play Online

  • Upload the files to a hosting service or use services like GitHub Pages to play online.

๐Ÿ… Game Controls

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

๐Ÿ“ Future Enhancements

  • โณ Add difficulty levels.
  • ๐Ÿ† Implement a leaderboard.
  • ๐ŸŽต Include sound effects.

๐Ÿค Contributing

Feel free to fork this repository and submit pull requests with improvements! ๐Ÿš€

๐Ÿ“œ License

This project is open-source and available under the MIT License. good project5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages