A clean, modular, and interactive console-based gaming application built in Python. This project combines simplicity with thoughtful design by offering multiple games, persistent scoring, and a structured architecture—making it ideal for academic evaluation and practical learning.
✨ Multiple Games in One Hub
- ✊ Stone – Paper – Scissors
- 🎲 Dice Roll Game
🧠 Smart Game Design
- Best of 3 rounds system
- Randomized gameplay using Python’s
randommodule - Clear win/lose/draw logic
📊 Score Tracking System
- Tracks wins, losses, and draws
- Displays real-time score after gameplay
💾 Persistent Storage
- Saves scores to a file (
score.txt) - Automatically loads previous progress
📜 Game History
- Stores and displays all played rounds
- Helps visualize performance over time
🎨 Improved User Experience
- Clean terminal UI with headers and formatting
- Shortcut inputs (e.g.,
sfor stone) - Menu-driven navigation
🔁 Replay System
- Play multiple rounds seamlessly without restarting
game_hub/
│
├── main.py # Entry point (menu + flow control)
├── sps_game.py # Stone-Paper-Scissors logic
├── dice_game.py # Dice game logic
├── utils.py # UI helpers & input handling
├── score_manager.py # Score tracking & file handling
└── history.py # Game history tracking
- Clone or download the project
- Open terminal in the project folder
- Run the program:
python main.py- Functions and modular programming
- File handling (read/write)
- Random number generation
- Loops and conditionals
- Data structures (lists, dictionaries)
- Separation of concerns (clean architecture)
This project goes beyond basic requirements by focusing on:
- Modular design (multiple files for scalability)
- User experience (interactive UI + smooth flow)
- Persistent data (score saving system)
- Extensibility (easy to add new games/features)
It demonstrates not just coding ability, but also software design thinking.
- GUI version using Tkinter
- Leaderboard system
- Multiplayer mode
- Sound effects for gameplay
- Additional mini-games
A modular Python-based game hub featuring Stone-Paper-Scissors and Dice games, with score tracking, persistent storage, and interactive gameplay through a menu-driven interface.
Harjot Singh B.Tech – Artificial Intelligence & Data Science
This project reflects a balance between simplicity and thoughtful engineering—turning a basic assignment into a structured and engaging application.