haive.games.chess.ui ==================== .. py:module:: haive.games.chess.ui .. autoapi-nested-parse:: Chess game UI using Rich for beautiful terminal display. Classes ------- .. autoapisummary:: haive.games.chess.ui.ChessRichUI Functions --------- .. autoapisummary:: haive.games.chess.ui.main Module Contents --------------- .. py:class:: ChessRichUI Beautiful Rich UI for displaying a live chess agent game. Init . .. py:method:: render_analysis(color) Render position analysis for a player. .. py:method:: render_board() Render the chess board with pieces. .. py:method:: render_current_move() Render the current move being made. .. py:method:: render_footer() Render the footer with controls and status. .. py:method:: render_game_info() Render game information and statistics. .. py:method:: render_header() Render the header with title and game time. .. py:method:: render_move_history() Render the move history. .. py:method:: render_player_info(color) Render player information panel. .. py:method:: run(agent, delay = 0.5) Run the live UI with the chess agent. :param agent: The chess agent to run :param delay: Minimum delay between UI updates (seconds) .. py:function:: main() Run a chess game with the Rich UI.