Created by Daniel Cook on April 20, 2023.
Challenge your computer in a timeless game of Rock, Paper, Scissors! This simple yet engaging program lets you try your luck against the machine. Can you outsmart it?
- Run the
python3 rock_paper_scissors.py
script. - You'll be prompted to make a choice between rock, paper, or scissors.
- Enter your choice and see what the computer picks.
- The winner will be announced based on the classic rules of Rock, Paper, Scissors.
- User-friendly: The program will inform you if you've made an invalid choice and ask you to enter again.
- Randomness: The computer's choice is entirely random, ensuring a fair game every time.
- Instant results: No waiting! You'll see immediately if you've won, lost, or tied.
The game utilizes Python's random
module to determine the computer's choice. The logic then compares the player's and the computer's choices to decide the winner using the traditional game rules.
Though the game is simple and created out of boredom, there's always room for enhancement! Possible future features include:
- Multi-round gameplay
- Score tracking
- Enhancing user experience with graphics or sound effects
Feel free to suggest improvements or report issues!
Sometimes, the simplest games are the most entertaining. So, next time you're feeling bored, challenge your computer to a quick game of Rock, Paper, Scissors!