KE
kelwynOliveira/rock_paper_scissors
A simple, colorful and interactive Rock, Paper, Scissors game built in Python
๐ชจ๐โ๏ธ Rock, Paper, Scissors Game
A simple, colorful and interactive Rock, Paper, Scissors game built in Python!
Train your luck, challenge the machine, and enjoy the terminal experience with a touch of style.
โจ Screenshots
๐ฎ How to Play
The classic rules:
| Move | Beats |
|---|---|
| Rock (0) | Scissors (2) |
| Paper (1) | Rock (0) |
| Scissors (2) | Paper (1) |
โ๏ธ How to Run
1๏ธโฃ Create a virtual environment (optional but recommended)
For macOS / Linux:
python3 -m venv .venv
source .venv/bin/activateFor Windows:
python -m venv .venv
.venv\Scripts\activate2๏ธโฃ Install dependencies
pip install -r requirements.txtor if you're just using colorama:
pip install colorama3๏ธโฃ Start the game!
python rock_paper_scissors.py4๏ธโฃ Stop the game
To deactivate the virtual environment when you're done:
deactivate๐ง Project Overview
- ๐ Tracks your score and the machine's.
- ๐จ Uses Colorama to make the terminal output fun and clear.
- ๐ Loop-friendly: play as many rounds as you want!
- โก Clear input validation and feedback.
๐ Project Structure
rock_paper_scissors/
โโโ .venv/ (optional virtual environment)
โโโ assets
โโโ .gitignore
โโโ README.md
โโโ requirements.txt
โโโ rock_paper_scissors.py
๐ก Notes
Remember:
You only deactivate the virtual environment when you're done running the project and don't need to use its dependencies anymore.
Activating and immediately deactivating doesn't make sense โ run the game first, then leave the environment when you're finished.

