haive.games.monopoly.ui_fixed¶
Rich UI for displaying a live Monopoly game.
This module provides a beautiful terminal interface for watching Monopoly games unfold in real-time using Rich.
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_fixed.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