haive.games.single_player.flow_free.config¶
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¶
Configuration for the Flow Free game agent. |
Module Contents¶
- class haive.games.single_player.flow_free.config.FlowFreeConfig(/, **data)[source]¶
Bases:
haive.games.single_player.base.SinglePlayerGameConfig
Configuration for the Flow Free game agent.
- Parameters:
data (Any)
- name¶
Name of the game agent.
- state_schema¶
State schema for the game.
- player_type¶
Type of player.
- game_mode¶
Mode of operation.
- difficulty¶
Difficulty level of the game.
- max_hints¶
Maximum number of hints allowed.
- auto_analyze¶
Whether to automatically analyze after each move.
- rows¶
Number of rows in the grid.
- cols¶
Number of columns in the grid.
- num_flows¶
Number of flows to include. If None, determined by difficulty.
- 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.
- classmethod default_config()[source]¶
Create a default configuration for a new Flow Free game.
- Returns:
An instance of the default game configuration.
- Return type:
- classmethod easy_config()[source]¶
Create an easy configuration for a new Flow Free game.
- Returns:
An instance of the easy game configuration.
- Return type: