Game Hub

Object-Oriented Programming Project โ€ข C++

๐Ÿ“˜ Course Information

Course: Object-Oriented Programming (C++)

Submission Date: September 09, 2025

๐Ÿง  OOP Concepts Demonstrated

๐ŸŒณ 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

Tic Tac Toe Output 1

Details

Tic Tac Toe Output 1

โœŠโœ‹โœŒ Rock Paper Scissors

Rock Paper Scissors Output 1

โŒโญ• Tic Tac Toe

Tic Tac Toe Output 1

๐Ÿ”ข Hidden Number Guessing

Hidden Number Guessing Output

๐Ÿ“ 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.