haive.games.hold_em.ui ====================== .. py:module:: haive.games.hold_em.ui .. autoapi-nested-parse:: Texas Hold'em Rich UI for live game display. This module provides a beautiful Rich-based terminal UI for displaying Texas Hold'em games in real-time, showing: - Player positions and chip stacks - Community cards and pot - Current action and betting - Game phase and status Classes ------- .. autoapisummary:: haive.games.hold_em.ui.HoldemRichUI Functions --------- .. autoapisummary:: haive.games.hold_em.ui.main Module Contents --------------- .. py:class:: HoldemRichUI Beautiful Rich UI for displaying a live Texas Hold'em game. .. py:method:: render_action_log() Render recent actions and decisions. .. py:method:: render_community_cards() Render community cards and board. .. py:method:: render_footer() Render the footer with controls and current action. .. py:method:: render_game_stats() Render game statistics. .. py:method:: render_hand_history() Render hand history summary. .. py:method:: render_header() Render the header with game title and phase. .. py:method:: render_player_info() Render detailed player information. .. py:method:: render_pot_info() Render pot size and betting information. .. py:method:: render_table() Render the poker table with player positions. .. py:method:: run(agent, delay = 2.0) Run the live UI with the Hold'em agent. :param agent: The HoldemGameAgent instance :param delay: Delay between updates for readability .. py:function:: main() Main function to run the UI demo.