Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 3.26 KB

File metadata and controls

58 lines (32 loc) · 3.26 KB
graph LR
    Terminal_Interface["Terminal Interface"]
    Render_Engine["Render Engine"]
    ASCII_Art_Objects["ASCII Art Objects"]
    Results_Manager["Results Manager"]
    Terminal_Interface -- "orchestrates" --> Render_Engine
    Terminal_Interface -- "orchestrates" --> Results_Manager
    Render_Engine -- "uses" --> ASCII_Art_Objects
    click Terminal_Interface href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/poker_ai/Terminal_Interface.md" "Details"
Loading

CodeBoardingDemoContact

Details

The Terminal Interface subsystem is a crucial part of the poker_ai project, aligning with its CLI Application architectural pattern. It provides a text-based user interface for real-time game progress, AI training status, and results display directly within the terminal.

Terminal Interface [Expand]

The overarching component responsible for managing all terminal-based user interactions and displays. It orchestrates the rendering of game states, AI training progress, and final results to the command line.

Related Classes/Methods:

Render Engine

The core rendering engine. It translates internal game state information (from poker_ai.poker) and AI training progress (from poker_ai.ai) into a visual, text-based representation suitable for terminal display. It acts as the orchestrator for visual elements.

Related Classes/Methods:

ASCII Art Objects

This component is responsible for generating and managing ASCII art representations of various game elements, such as playing cards (card_collection), chips, or player states. These are the visual primitives consumed by the Render Engine.

Related Classes/Methods:

Results Manager

Manages the storage, formatting, and display of final game outcomes or AI training results. It ensures that summaries of games or training sessions are presented clearly and concisely to the user in the terminal.

Related Classes/Methods: