haive.games.fox_and_geese.enhanced_example¶
Enhanced example runner for Fox and Geese game with Rich UI visualization.
Functions¶
|
Demonstrate UI features with a sample game state. |
|
Run a Fox and Geese game with visualization. |
Module Contents¶
- haive.games.fox_and_geese.enhanced_example.demo_ui_features(delay=0.5)[source]¶
Demonstrate UI features with a sample game state.
- Parameters:
delay (float) – Delay between demonstrations in seconds
- haive.games.fox_and_geese.enhanced_example.run_fox_and_geese_game(agent, delay=1.5, use_rich_ui=True)[source]¶
Run a Fox and Geese game with visualization.
- Parameters:
agent (haive.games.fox_and_geese.agent.FoxAndGeeseAgent) – Configured FoxAndGeeseAgent
delay (float) – Delay between moves in seconds
use_rich_ui (bool) – Whether to use the enhanced Rich UI (vs. the basic UI)
- Returns:
The final game state