Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.4 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.4 KB

Guess My Number Game

This is a simple web-based number guessing game where the player tries to guess a randomly generated number between 1 and 20.

How to Play

  1. Open index.html in your web browser.
  2. 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.
  3. Enter your guess in the input field and click the "Check!" button to see if your guess is correct.
  4. The game will provide feedback on whether your guess is too high or too low.
  5. Continue guessing until you correctly identify the number or give up.
  6. You can click the "Again!" button to start a new game at any time.

Features

  • 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.

Technologies Used

  • HTML
  • CSS
  • JavaScript

How to Contribute

If you'd like to contribute to this project or report issues, please follow these steps:

  1. Fork the repository.
  2. Create a new branch with a descriptive name: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them: git commit -m "Description of your changes".
  4. Push your changes to your fork: git push origin feature/your-feature-name.
  5. Create a pull request to the original repository's main branch.