games.mancala.engines¶
Engines for the Mancala game.
This module defines the engines for the Mancala game, including the move and analysis prompts.
Functions¶
|
Generate a prompt for analyzing a Mancala position. |
|
Generate a prompt for making a move in Mancala. |
Module Contents¶
- games.mancala.engines.generate_analysis_prompt(player)¶
Generate a prompt for analyzing a Mancala position.
This function constructs a prompt template for the analysis engine, which analyzes the current game state from the perspective of the specified player.
- Parameters:
player (str)
- Return type:
langchain_core.prompts.ChatPromptTemplate