CAP Python Mini Project 1 - IF-LOGIC SCRIPT
The game were I guess the number you are thinking, from 0 to max number. The number of rounds is based on the max number you pick.
To play the game you have to run python3 number_guesser.py
please ensure all the necessary dependencies are installed by using python3 -m pip -r requirements.txt
- You select a number to be the max number the game can guess from, the default is
100
- You as the player will pick a number from
0
to themax number
- The game will start to guess and you have to tell it
y
orn
on whether or not the guess is correct - If the guess is not correct you will enter
1
for Too High or2
for Too Low - If the game guesses the number you lose
- If the number of rounds runs out then you win
- At the end, whether you win or lose you will be asked to play again.
- At anypoint during the prompts you can enter
q
orquit
to end the game.