Skip to content

JS-GodMode/Guess-my-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezgif com-video-to-gif-converter(1)

Guess my Number

This simple web-based game challenges players to guess a secret number within a specified range. The player who correctly guesses the number with the fewest attempts wins!

How to Play

  1. Set the Range: The game allows you to define the range of numbers to guess from.
  2. Start Guessing: Enter your guesses into the provided input field.
  3. Get Feedback: The game will tell you if your guess is too high or too low.
  4. Keep Trying: Continue guessing until you find the correct number.
  5. See Your Score: Once you guess correctly, your score (number of attempts) is displayed.
  6. Next Player's Turn: The next player tries to beat your score.

Features

  • Customizable Number Range: Adjust the difficulty by setting the range of numbers.
  • Score Tracking: Keeps track of the best score, encouraging competition.
  • Simple and Intuitive Interface: Easy to understand and play.

Technologies Used

  • HTML
  • CSS
  • JavaScript

How to Run the Game

  1. Clone this repository to your local machine.
  2. Open the index.html file in your web browser.

Contributing

Feel free to contribute to this project by adding new features, improving the interface, or fixing any bugs you find. Simply fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. For more details, see the LICENSE file.

Usage Restrictions: Forkify is available solely for viewing and learning purposes. No commercial use, resale, or teaching distribution is allowed.

Acknowledgements

  • Inspiration for this project came from various classic number guessing games.

Let the guessing begin!