This is a simple Rock, Paper, Scissors game implemented in Python.
This game allows users to play Rock, Paper, Scissors against the computer. The user inputs their choice, and the computer randomly selects its choice. The game then determines the winner based on the standard rules of Rock, Paper, Scissors.
Python 3.x tkinter (usually included with Python installations) random (standard Python library)
- Clone the Repository:
git clone https://github.com/yourusername/rock-paper-scissors-gui.git
cd rock-paper-scissors-gui
- Install Required Modules: Ensure you have Python installed. Tkinter is typically included with Python installations. If you need to install Tkinter separately, you can do so using your package manager. For example, on Debian-based systems:
sudo apt-get install python3-tk
- Navigate to the Directory:
cd path/to/rock-paper-scissors-gui
- Run the Script:
python rock_paper_scissors.py
When you run the script, a window will appear with buttons to choose Rock, Paper, or Scissors. After making your choice, the result of the game will be displayed in the window.