Rock, Paper, Scissors Game
This Python script allows users to play the classic game of Rock, Paper, Scissors against the computer. Players input their choice, the computer generates a random choice, and the winner is determined based on the game's rules. Users can choose to play multiple rounds.
Features:
- Interactive gameplay
- Simple user interface
- Randomized computer choices
- Option to play again or exit
How to Use:
- Run the script in a Python environment.
- Follow the prompts to input your choice (rock, paper, or scissors).
- See the computer's choice and the game outcome.
- Choose to play again or exit the game.
Installing modules
- type the prompt in the terminal
py -m install random
py -m install os
Dependencies:
- Python 3.12.3
- no libraries required
Files:
rock_paper_scissors.py
: The main Python script containing the game logic.README.md
: This file providing instructions and information about the game.
Usage:
py rock_paper_scissors.py
Contributing: Contributions are welcome! Feel free to submit issues or pull requests.