Skip to content

Latest commit

 

History

History
72 lines (47 loc) · 3.96 KB

File metadata and controls

72 lines (47 loc) · 3.96 KB
graph LR
    Asset_Data_Management["Asset & Data Management"]
    Game_Core_Models["Game Core Models"]
    Game_State_Logic["Game State & Logic"]
    Game_Loop_Command_Processing["Game Loop & Command Processing"]
    User_Interface_Presentation["User Interface & Presentation"]
    Asset_Data_Management -- "provides data to" --> Game_Core_Models
    Game_Core_Models -- "populated by" --> Asset_Data_Management
    Game_Core_Models -- "managed by" --> Game_State_Logic
    Game_State_Logic -- "manages" --> Game_Core_Models
    Game_State_Logic -- "provides state to" --> Game_Loop_Command_Processing
    Game_State_Logic -- "provides state to" --> User_Interface_Presentation
    Game_Loop_Command_Processing -- "updates" --> Game_State_Logic
    Game_Loop_Command_Processing -- "sends display data to" --> User_Interface_Presentation
    User_Interface_Presentation -- "sends input to" --> Game_Loop_Command_Processing
    click Asset_Data_Management href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/TA/Asset_Data_Management.md" "Details"
    click Game_Core_Models href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/TA/Game_Core_Models.md" "Details"
    click Game_State_Logic href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/TA/Game_State_Logic.md" "Details"
    click Game_Loop_Command_Processing href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/TA/Game_Loop_Command_Processing.md" "Details"
    click User_Interface_Presentation href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/TA/User_Interface_Presentation.md" "Details"
Loading

CodeBoardingDemoContact

Details

Abstract Components Overview for a game project.

Asset & Data Management [Expand]

Centralized system for loading, validating, and managing all static game assets (Entities, Effects, Levels, Items) from JSON files. It ensures data integrity and provides structured access to game data for other components.

Related Classes/Methods:

  • AssetHandler
  • load_game

Game Core Models [Expand]

Represents the in-memory data structures for all fundamental game elements, including entities (players, NPCs, monsters), items, effects, and level definitions. These models encapsulate the properties and basic behaviors of game objects.

Related Classes/Methods:

  • LevelInit
  • EntityInit
  • EffectInit
  • itemInit

Game State & Logic [Expand]

Manages the overall dynamic state of the game, including player status, current location, inventory, active effects, and quest progress. It encapsulates the core game rules and interactions, applying effects and managing relationships between game elements.

Related Classes/Methods: None

Game Loop & Command Processing [Expand]

The central orchestrator of the game. It continuously handles user input, interprets commands, dispatches actions to update the game state based on game logic, and triggers rendering of the game world. This component embodies the core "Game Loop" and "Interpreter Pattern."

Related Classes/Methods: None

User Interface & Presentation [Expand]

Handles all interactions with the user, including displaying game information (formatted text, menus, progress indicators) and receiving user input. It renders the game world based on data received from the Game State & Logic and Game Loop.

Related Classes/Methods: None