Features
1. Random Number Generation: A random number between 1 and 100 is generated at the start of each game.
2. User Input: The player can enter their guess in a text input field.
3.Feedback: After each guess, the game provides feedback indicating if the guess is too high, too low, or correct.
4.Attempt Tracking: The game keeps track of the number of attempts and displays it to the player.
5. Win/Lose Conditions: The game notifies the player if they win by guessing correctly or lose by exceeding the 12 attempts.
6.Restart Option: Players can restart the game to try again.
Technologies Used
- HTML: For structuring the game interface.
- CSS: For styling the game.
- JavaScript: For game logic and interactivity.
number between 1 and 20 within 12 attempts. The game provides feedback on whether the guess is
too high or too low, and keeps track of the number of attempts made.
If the player guesses the number correctly within the allowed attempts, they win; otherwise, they lose.