games.nim.config¶

Configuration for the Nim game.

This module defines the configuration for the Nim game, which includes the state schema, engines, enable_analysis, visualize, and pile_sizes.

Classes¶

NimConfig

Configuration for the Nim agent.

Module Contents¶

class games.nim.config.NimConfig¶

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

Configuration for the Nim agent.

state_schema¶

The state schema for the Nim game.

Type:

Type[NimState]

engines¶

The engines for the Nim game.

Type:

Dict[str, AugLLMConfig]

enable_analysis¶

Whether to enable analysis.

Type:

bool

visualize¶

Whether to visualize the game.

Type:

bool

classmethod default_config()¶

Create a default configuration.

Returns:

The default configuration.

Return type:

NimConfig