Skip to content

Files

Latest commit

 

History

History

Rock, Paper, Scissors Game

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Rock, Paper, Scissors Game

This is a simple Rock, Paper, Scissors game implemented in Python.

Description

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.

Required Modules

Python 3.x tkinter (usually included with Python installations) random (standard Python library)

How to Install

  1. Clone the Repository:
               git clone https://github.com/yourusername/rock-paper-scissors-gui.git
               cd rock-paper-scissors-gui
  1. 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

How to Run the Script

  1. Navigate to the Directory:
               cd path/to/rock-paper-scissors-gui
  1. Run the Script:
               python rock_paper_scissors.py

Example Output

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.