haive.games.monopoly.ui¶
Rich UI for displaying a live Monopoly game with proper error handling.
This module provides a beautiful terminal interface for watching Monopoly games unfold in real-time using Rich, with fixes for the validation error.
Classes¶
Beautiful Rich UI for displaying a live Monopoly game. |
Functions¶
|
Run a Monopoly game with the Rich UI. |
Module Contents¶
- class haive.games.monopoly.ui.MonopolyRichUI[source]¶
Beautiful Rich UI for displaying a live Monopoly game.
Render the footer with controls and game info.
- Return type:
rich.panel.Panel
- run(agent, delay=2.0)[source]¶
Run the live UI with the Monopoly agent.
- Parameters:
agent (haive.games.monopoly.main_agent.MonopolyAgent) – The Monopoly agent to run
delay (float) – Delay between updates for readability