- Guess The Number II is a Python terminal game
- Users can try beat the computer guessing a number betweenn 1 and 10.
- The live link can be found here - Guess The Number II
Guess The Number is a classic guessing game.
The user can play against the computer by inputting the values on the terminal.
The game will tell the player immediately to guess a higher or lower number.
- Randon computer selection
- Once the player choose computer will make a random selection
- The player will not be able to see that
- Example when the player win
- Example when the player guessed a lower number
- Example when the player guessed a higher number
- Play again
- When the game is finished the user will be prompeted to press '1' to play again or 'q' to exit the game.
- Exit game
- once the player press 'q' to exit it will be showed a message "Thank You" and the game will finish.
- Input validation and error checking
- if the player type invalid input it will be validated
I have tested the project doing the following
- passed on PEP8.
- Tried invalid inputs
- Tested on Heroku and the Terminal.
Solved Bugs - Validation problem - Fixed error adding images to readme file, files added to a wrong folder.
- No bugs remain
-
When you create the app, you will need to add two buildpacks from the Settings tab. The ordering is as follows:
-
heroku/python
-
heroku/nodejs
-
You must then create a Config Var called - PORT. Set this to 8000
-
Connect your GitHub repository and deploy as normal.
-