haive.games.single_player.flow_free.config ========================================== .. py:module:: haive.games.single_player.flow_free.config .. autoapi-nested-parse:: Configuration for Flow Free game agent. This module defines the configuration for the Flow Free game agent, including player type, game mode, and difficulty settings. Classes ------- .. autoapisummary:: haive.games.single_player.flow_free.config.FlowFreeConfig Module Contents --------------- .. py:class:: FlowFreeConfig(/, **data) Bases: :py:obj:`haive.games.single_player.base.SinglePlayerGameConfig` Configuration for the Flow Free game agent. .. attribute:: name Name of the game agent. .. attribute:: state_schema State schema for the game. .. attribute:: player_type Type of player. .. attribute:: game_mode Mode of operation. .. attribute:: difficulty Difficulty level of the game. .. attribute:: max_hints Maximum number of hints allowed. .. attribute:: auto_analyze Whether to automatically analyze after each move. .. attribute:: rows Number of rows in the grid. .. attribute:: cols Number of columns in the grid. .. attribute:: num_flows Number of flows to include. If None, determined by difficulty. .. attribute:: engines Configurations for game LLMs. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name. .. py:method:: default_config() :classmethod: Create a default configuration for a new Flow Free game. :returns: An instance of the default game configuration. :rtype: FlowFreeConfig .. py:method:: easy_config() :classmethod: Create an easy configuration for a new Flow Free game. :returns: An instance of the easy game configuration. :rtype: FlowFreeConfig .. py:method:: interactive_config() :classmethod: Create an interactive configuration for a new Flow Free game. :returns: An instance of the interactive game configuration. :rtype: FlowFreeConfig