mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-23 20:11:10 +00:00
.. | ||
Guess_the_number.py | ||
Readme.md |
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.