Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.45 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.45 KB

🎲 Guess My Number

Welcome to the Guess My Number game! This project is a simple number guessing game built with HTML, CSS, and JavaScript. The objective is to guess a randomly generated number between 1 and 20.

🚀 Features

  • Random Number Generation: The game generates a random number between 1 and 20 that the player needs to guess.
  • Feedback Messages: Provides feedback on whether the guess is too high, too low, or correct.
  • Score Tracking: Tracks the player's score, which decreases with each incorrect guess.
  • Game Over Condition: The game ends when the score reaches zero, and the player is notified.

🎮 How to Play

  1. Start the Game: Reload the page to generate a new random number.
  2. Make a Guess: Enter a number between 1 and 20 and submit.
  3. Receive Feedback: The game will tell you if your guess is too high, too low, or correct.
  4. Try Again: Adjust your guess based on the feedback until you either guess correctly or run out of attempts.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🎓 Credits

This project was developed based on the teachings of the course The Complete JavaScript Course 2024: From Zero to Expert! taught by Jonas Schmedtmann on Udemy.

Enjoy the game, and happy coding! 🎉