This is a simple Rock-Paper-Scissors game implemented in Python. It allows a user to play against the system by selecting one of the three options: Rock, Paper, or Scissors.
- The user and the system each choose one of the three options: Rock, Paper, or Scissors.
- The winner is determined according to the following rules:
- Rock vs Paper -> Paper wins
- Rock vs Scissors -> Rock wins
- Paper vs Scissors -> Scissors wins
Make sure you have Python installed on your system. Additionally, you'll need the pyttsx3 library for audio output. You can install it using pip:
pip install pyttsx3
- Run the script.
- Enter your name when prompted.
- Follow the instructions to select your choice (Rock, Paper, or Scissors) using the corresponding integer values (1, 2, or 3).
- The system will randomly select its choice.
- The winner will be announced based on the game rules.
- You can choose to play again or exit the game.
python rock_paper_scissors.py- Nagulapally Bhargavi - https://github.com/bhargavi852004