This is a simple web-based number guessing game where the player tries to guess a randomly generated number between 1 and 20.
- Open
index.html
in your web browser. - The game interface will display the title "Guess My Number!" and a message indicating that you need to guess a number between 1 and 20.
- Enter your guess in the input field and click the "Check!" button to see if your guess is correct.
- The game will provide feedback on whether your guess is too high or too low.
- Continue guessing until you correctly identify the number or give up.
- You can click the "Again!" button to start a new game at any time.
- Randomly generated secret number between 1 and 20.
- User input validation.
- Feedback on whether the guess is too high or too low.
- Keeps track of your current score.
- Displays the highest score achieved during the session.
- HTML
- CSS
- JavaScript
If you'd like to contribute to this project or report issues, please follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -m "Description of your changes"
. - Push your changes to your fork:
git push origin feature/your-feature-name
. - Create a pull request to the original repository's
main
branch.