mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-12-18 08:10:20 +00:00
626 B
626 B
Guess the number
- In this game, the [program generates random numbber]but this number is not visible to the player.
- Player tries to guess the number. If the player enters the same number that is generated by system then program displays the winning message and game ends there.
- If the player enters wrong number then that number is evaluated. If the number is greater than right answer than system gives a hint that entered number is ‘high’ otherwise if number is smaller than right answer than it says ‘lower’.
- There are limited number of attempts available with the user to win the game.