This is a Python implementation of the popular game "Rock Paper Scissors" with a feature of playing against a computer opponent. The game allows you to compete against the computer by choosing one of the three options: Rock, Paper, or Scissors. The program determines the winner based on the rules of the game and displays the result.
To run this game on your local machine, follow these steps:
-
Make sure you have Python 3.10 installed on your system. If not, you can download and install Python from the official website: Python Downloads
-
Clone this GitHub repository to your local machine or download the source code as a ZIP file.---- copy command -----> $ git clone https://github.com/Atharvaaat/Rock-Paper-Scissors-game.git
-
Navigate to the project directory.----- copy command -----> $ cd Rock-Paper-Scissors-game
-
Run the game script.----- copy command -----> $ app.py
1.The game starts by prompting you to enter your choice (Rock, Paper, or Scissors).
2.After you have made your choice, the computer opponent randomly selects its choice.
3.Once both choices have been made, the program determines the winner based on the rules of the game.
4.The result is displayed on the screen, indicating the winner or a tie if both players made the same choice.
5.You can play the game as many times as you want by repeating the steps above.
The rules of the "Rock Paper Scissors" game are as follows:
- Rock beats Scissors: Rock smashes Scissors.
- Scissors beats Paper: Scissors cuts Paper.
- Paper beats Rock: Paper covers Rock.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository. Your feedback and contributions will help make this game better for everyone.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.
I would like to thank the developers and contributors of the open-source community for their valuable resources and inspirations that helped in creating this project.
Enjoy playing the "Rock Paper Scissors" game against the computer opponent :)