haive.games.fox_and_geese.fixed_runner ====================================== .. py:module:: haive.games.fox_and_geese.fixed_runner .. autoapi-nested-parse:: Fixed runner for Fox and Geese game without LangGraph streaming issues. Classes ------- .. autoapisummary:: haive.games.fox_and_geese.fixed_runner.FixedFoxAndGeeseAgent Functions --------- .. autoapisummary:: haive.games.fox_and_geese.fixed_runner.main haive.games.fox_and_geese.fixed_runner.parse_arguments Module Contents --------------- .. py:class:: FixedFoxAndGeeseAgent(config = FoxAndGeeseConfig()) Bases: :py:obj:`haive.games.fox_and_geese.agent.FoxAndGeeseAgent` Fixed Fox and Geese agent that handles state directly. Initialize the Fox and Geese agent. :param config: The configuration for the Fox and Geese game. :type config: FoxAndGeeseConfig .. py:method:: run_fixed_game(delay = 1.0, max_moves = 100) Run the Fox and Geese game step by step, managing state directly. This bypasses LangGraph's stream method, which can have issues with certain state types. :param delay: Time delay between moves for better visualization :param max_moves: Maximum number of moves before forcing a draw :returns: Final game state .. py:function:: main() Run the Fox and Geese game with the fixed runner. .. py:function:: parse_arguments() Parse command line arguments.