haive.games.chess.api_client_example ==================================== .. py:module:: haive.games.chess.api_client_example .. autoapi-nested-parse:: Example client for the Chess API. This shows how to interact with the chess API to create and play games. Classes ------- .. autoapisummary:: haive.games.chess.api_client_example.ChessAPIClient Functions --------- .. autoapisummary:: haive.games.chess.api_client_example.main Module Contents --------------- .. py:class:: ChessAPIClient(base_url = 'http://localhost:8000') Simple client for the Chess API. Init . :param base_url: [TODO: Add description] .. py:method:: create_game(white_provider = 'anthropic', white_model = None, black_provider = 'anthropic', black_model = None, enable_analysis = True, max_moves = 200) Create a new game. .. py:method:: delete_game(game_id) Delete a game. .. py:method:: get_game_state(game_id) Get current game state. .. py:method:: list_games() List all active games. .. py:method:: list_providers() Get available LLM providers. .. py:method:: stream_game(game_id, callback=None) Stream game events. .. py:function:: main() Example usage of the Chess API client.