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¶

MonopolyRichUI

Beautiful Rich UI for displaying a live Monopoly game.

Functions¶

main()

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_board()[source]¶

Render a simplified board view.

Return type:

rich.panel.Panel

render_current_player()[source]¶

Render current player information.

Return type:

rich.panel.Panel

Render the footer with controls and game info.

Return type:

rich.panel.Panel

render_header()[source]¶

Render the game header.

Return type:

rich.panel.Panel

render_players()[source]¶

Render all players summary.

Return type:

rich.panel.Panel

render_recent_events()[source]¶

Render recent game events.

Return type:

rich.panel.Panel

run(agent, delay=2.0)[source]¶

Run the live UI with the Monopoly agent.

Parameters:
haive.games.monopoly.ui.main()[source]¶

Run a Monopoly game with the Rich UI.