Welcome to the Guess The Number game! In this simple web-based game, you have to guess a random number generated by the system. Your goal is to find the correct number within the range of 1 to 20. With each guess, the game will provide hints to guide you toward the correct answer.
- Open the
index.html
file in your preferred web browser. - Enter a number between 1 and 20 in the input field.
- Click the "Check" button to submit your guess.
- The game will provide feedback:
- If your guess is lower than the generated number, the page will state that.
- If your guess is higher than the generated number, the page will state that.
- If your guess is correct, you win the game!
- Your score starts at 20 and decreases by 1 for each incorrect guess.
- The highest score achieved is displayed.
- To play again, click the "Play Again" button.
- Javascript
- HTML
- CSS