Skip to content

Latest commit

 

History

History

Guess_num

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Guess the Number Game



Description 📃

  • Guess the Number Game is a classic game where the player attempts to guess a randomly generated number within a specified range.

Functionalities 🎮

  • Generates a random number within a specified range.
  • Provides feedback to the player about their guess (too high, too low, or correct).
  • Tracks the number of attempts made by the player.
  • Allows the player to reset the game and start over.

Players can input their guesses, and the game provides feedback on whether the guess is too high, too low, or correct. Players have a maximum of 10 attempts to guess the correct number, after which the game ends.

How to play? 🕹️

  1. The game generates a random number between 1 and 100.
  2. The player enters their guess in the input field and clicks the submit button.
  3. The game provides feedback on whether the guess is too high, too low, or correct.
  4. The player continues guessing until they guess the correct number or exhaust all attempts.
  5. If the player guesses the number correctly within 10 attempts, they win the game.
  6. If the player fails to guess the number within 10 attempts, the game ends, and the correct number is revealed.

Screenshots 📸


screenshot