games.reversi.config¶

Configuration model for the Reversi (Othello) game agent.

Defines game metadata, initial settings, and engine bindings used to drive the game loop and decision-making by language models.

Classes¶

ReversiConfig

Configuration for the Reversi/Othello game agent.

Module Contents¶

class games.reversi.config.ReversiConfig¶

Bases: haive.games.framework.base.config.GameConfig

Configuration for the Reversi/Othello game agent.

name¶

Name of the game.

Type:

str

state_schema¶

The state model used for gameplay.

Type:

Type[ReversiState]

engines¶

Mapping of engine names to LLM configurations.

Type:

Dict[str, AugLLMConfig]

enable_analysis¶

Whether to run post-move analysis.

Type:

bool

visualize¶

Whether to render the board visually in the console.

Type:

bool

first_player¶

Symbol of the player who starts (Black or White).

Type:

Literal[‘B’, ‘W’]

player_B¶

Who controls the Black pieces.

Type:

Literal[‘player1’, ‘player2’]

player_W¶

Who controls the White pieces.

Type:

Literal[‘player1’, ‘player2’]

classmethod default_config()¶

Create a default configuration for Reversi.

Returns:

An instance with standard engine bindings and player layout.

Return type:

ReversiConfig