"Guess My Number!" is a fun and interactive game where players try to guess a randomly generated number between 1 and 20. The game keeps track of the player's score and high score.
You can view a live demo of the game here: Guess My Number Demo
- The game generates a random number between 1 and 20.
- Players enter their guess in the input field and click the "Check!" button.
- The game provides feedback whether the guess is too high, too low, or correct.
- The score decreases by 1 for each incorrect guess.
- If the guess is correct, the game ends and the score is compared to the high score.
- Players can click the "Again!" button to reset the game and start over.
index.html
: The HTML file that contains the structure of the game.style.css
: The CSS file that contains the styling of the game.script.js
: The JavaScript file that contains the game logic.