Skip to content

In this "Guess the Number" game, you will set the range for a secret number and then try to guess it. The game provides feedback on whether your guess is too high or too low, helping you narrow down the correct answer.

License

Notifications You must be signed in to change notification settings

TheNazgul42/Guess_The_Number_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Number Guessing Game

Setting the Range

You will be prompted to enter the minimal and maximal values for the range within which the secret number will be randomly selected. Ensure that the minimum value is less than the maximum value.

Guessing the Secret Number

  • The game will randomly select a secret number within the specified range.
  • You will be prompted to guess the secret number.
  • After each guess, the game will inform you if your guess is too high, too low, or correct.
  • If your guess is outside the specified range, you'll be reminded to guess within the correct range.

Winning the Game

Once you correctly guess the secret number, the game will congratulate you and tell you how many attempts it took to find the correct number.

Playing Again

After each game, you will have the option to play again or end the game.

About

In this "Guess the Number" game, you will set the range for a secret number and then try to guess it. The game provides feedback on whether your guess is too high or too low, helping you narrow down the correct answer.

Topics

Resources

License

Stars

Watchers

Forks

Languages