A simple web-based number guessing game. The player has to guess a randomly chosen number within a specified range and a limited number of attempts. Each incorrect guess narrows down the range until the player finds the correct answer or runs out of attempts.
- Set the maximum limit for the number.
- Choose the number of attempts.
- Feedback on each guess, including narrowing the guess range.
- Reset button to start a new game at any time.
- Simple, clean UI with interactive help.
- Select a limit (range) for the guessing number.
- Select the maximum number of attempts.
- Enter a number and click Guess to see if it's correct.
- Each incorrect guess will adjust the range hints until you either win or use all your attempts.
- Click Reset to start a new game.
index.html- Main HTML file for the game interface.script.js- JavaScript file containing game logic.style.css- Optional CSS for additional styling.
To play the game:
- Clone this repository:
git clone https://github.com/username/guessing-game.git
- Play the Guessing Game