This is a graphical version of the classic "Rock, Paper, Scissors" game built using Python and the Tkinter library. It includes features like a dark/light theme toggle, a reset button, and dynamic scorekeeping. This fun and interactive game is beginner-friendly and customizable.
- Rock, Paper, Scissors Gameplay: Play against the computer in real-time.
- Dynamic Theme Toggle: Switch between Dark and Light modes with the click of a button.
- Reset Game: Reset the scores and game state anytime during the game.
- Score Tracking: Displays the player's and computer's scores dynamically.
- Python 3.x installed on your system.
- Required libraries:
tkinter
Pillow
- Clone this repository to your local machine:
git clone https://github.com/your-username/rock-paper-scissors-game.git
- Navigate to the project directory:
cd rock-paper-scissors-game
- Ensure you have the required dependencies installed:
pip install pillow
- Run the script:
python rock_paper_scissors.py
rock_paper_scissors.py
: Main game script.rock-user.png
: Image of the rock for the user.paper-user.png
: Image of the paper for the user.scissors-user.png
: Image of the scissors for the user.rock.png
: Image of the rock for the computer.paper.png
: Image of the paper for the computer.scissors.png
: Image of the scissors for the computer.
- Launch the game by running the Python script.
- Select your move by clicking one of the buttons:
Rock
,Paper
, orScissors
. - The computer will randomly select its move.
- The result (Win, Lose, or Tie) will be displayed, and the scores will update accordingly.
- Use the
Reset Game
button to reset the game scores. - Toggle between Dark and Light themes using the
Toggle Theme
button.
Demo.Video.of.the.Rock.Paper.Scissor.Game.mp4
- You can replace the
.png
images with your own images to personalize the game. - Modify the theme colors in the
themes
dictionary to suit your preferences. - Add sound effects using the
pygame
library for a more immersive experience.
This project is open-source and available under the MIT License.
Developed by Rahul Prasad
Feel free to fork this project, submit pull requests, or open issues for any suggestions or improvements!