Welcome to the most thrilling number-guessing extravaganza this side of the command line!
You have two exciting games to test your guessing skills and challenge the computer:
- User Guessing Game: Try to guess which number the computer is thinking of!
- Computer Guessing Game: Let the computer guess your secret number, and see how fast it can get it right!
- User Guessing Game:
- Face off against a computer with an impeccable poker face
- Track your wins (and those pesky computer wins too)
- Play round after round until your psychic powers need a recharge
- Computer Guessing Game:
- You think of a number, and the computer will try to guess it
- Give the computer hints to guide it: Too Low, Too High, or Correct
- See how many attempts the computer needs to guess your number
- Run the game:
python user_guessing_game.py
- Guess the number the computer is thinking (between 1 and 3)
- Celebrate your wins or get ready for another round!
- Run the game:
python computer_guessing_game.py
- Think of a number between 1 and 100
- Let the computer guess, and provide feedback: Too Low, Too High, or Correct
- Python 3.x (No snakes were harmed in the making of these games)
- A sense of humor (essential for the inevitable winning or losing streaks)
Ready to test your guessing skills? Start the games with these commands:
-
For the User Guessing Game:
python user_guessing_game.py
-
For the Computer Guessing Game:
python computer_guessing_game.py
Got some magical ideas to improve the games? Submit a pull request! We welcome all feedback and contributions.
This project is licensed under the MIT License.