Concept Flow - Why UI communicates game state
Game Logic Updates State
UI Receives State Info
UI Updates Visuals
Player Sees Current Game State
Player Reacts / Inputs
Game Logic Processes Input
↩Back to Game Logic Updates State
The game logic changes the game state, the UI shows this state to the player, and the player reacts, creating a loop.