This repository contains two versions of a Rock Paper Scissors game:
rock_paper_scissors.py
- Command-line versionrock_paper_scissors_gui.py
- GUI version using Tkinter
- Interactive text-based gameplay
- Score tracking for player and computer
- Input validation
- Final score summary
- Modern graphical interface using Tkinter
- Visual feedback with emojis
- Real-time score tracking
- Milestone notifications
- Reset and quit functionality
- Colorful buttons for each choice
- Python 3.6 or higher
- Tkinter (usually included with Python)
python3 rock_paper_scissors.py
python3 rock_paper_scissors_gui.py
- Rock beats Scissors
- Scissors beats Paper
- Paper beats Rock
- Same choices result in a tie
- Visual Choice Display: See both your choice and the computer's choice with emojis
- Score Tracking: Real-time score updates for both player and computer
- Milestone Alerts: Get notifications when you reach 5 or 10 wins
- Reset Function: Start over with a clean score
- Confirmation Dialogs: Prevents accidental resets or quits
If you encounter issues running the GUI version:
- Python not found: Make sure Python 3 is installed and try
python3
instead ofpython
- Tkinter not available: Install tkinter with your package manager (usually included with Python)
- macOS compatibility: If you get version errors, try updating your system or use the command-line version
Enjoy playing Rock Paper Scissors!