๐ Course Information
Course: Object-Oriented Programming (C++)
Submission Date: September 09, 2025
๐ง OOP Concepts Demonstrated
- Encapsulation
- Inheritance
- Polymorphism
- Abstraction
- Diamond Problem (Virtual Inheritance)
- Error Handling
๐ณ Project Structure (GameHub Tree)
GameHub acts as the parent controller that manages multiple mini-games. The hierarchy below visually represents the parentโchild relationship in a tree-like form.
๐ฎ GameHub
Main controller: menu system, players, game routing.
โโโ Rock Paper Scissors
- Player vs Computer
- Randomized rounds
- Win / Loss / Draw tracking
โโญ Tic Tac Toe
- Two-player game
- 3ร3 board logic
- Win & draw detection
๐ข Hidden Number Guessing
- Secret number generation
- Limited attempts
- Point-based scoring
๐ผ๏ธ Program Output
Home Screen
Details
โโโ Rock Paper Scissors
โโญ Tic Tac Toe
๐ข Hidden Number Guessing
๐ Discussion
This tree-based structure highlights how GameHub acts as the root system while individual games grow as independent yet connected branches. The design ensures scalability, modularity, and clean object-oriented architecture.