This is a simple implementation of the classic Rock, Paper, Scissors game using the Pygame library in Python.
This project is a basic example of a game developed with Pygame. It allows a player to choose between Rock, Paper, and Scissors, while the computer makes a random choice. The game then determines the winner and displays the result on the screen.
To run this game, you need to have Python and Pygame installed on your system. You can install Pygame using the following command:
pip install pygame
- Clone the repository to your local machine:
git clone https://github.com/your-username/rock-paper-scissors-game.git
-
Make sure you have Pygame installed as mentioned in the requirements section.
-
Run the game by executing the script
-
Launch the game by running the
main.py
script. -
Make your choice by pressing the following keys:
- "R" for Rock
- "P" for Paper
- "S" for Scissors
-
The computer will make a random choice, and the result will be displayed on the screen.
-
The game waits for a couple of seconds before resetting for the next round.
- "R" - Choose Rock
- "P" - Choose Paper
- "S" - Choose Scissors
- Close the game window to exit.