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¶

MonopolyRichUI

Beautiful Rich UI for displaying a live Monopoly game.

Functions¶

main()

Run a Monopoly game with the Rich UI.

Module Contents¶

class games.monopoly.ui_fixed.MonopolyRichUI¶

Beautiful Rich UI for displaying a live Monopoly game.

render_board()¶

Render a simplified board view.

Return type:

rich.panel.Panel

render_current_player()¶

Render current player information.

Return type:

rich.panel.Panel

Render the footer with controls and game info.

Return type:

rich.panel.Panel

render_header()¶

Render the game header.

Return type:

rich.panel.Panel

render_players()¶

Render all players summary.

Return type:

rich.panel.Panel

render_recent_events()¶

Render recent game events.

Return type:

rich.panel.Panel

run(agent, delay=2.0)¶

Run the live UI with the Monopoly agent.

Parameters:
games.monopoly.ui_fixed.main()¶

Run a Monopoly game with the Rich UI.