haive.games.mastermind.engines ============================== .. py:module:: haive.games.mastermind.engines .. autoapi-nested-parse:: Engines for the Mastermind game. This module contains the engines for the Mastermind game, including the codemaker engine, guess engines, and analyzer engines. Functions --------- .. autoapisummary:: haive.games.mastermind.engines.generate_analysis_prompt haive.games.mastermind.engines.generate_codemaker_prompt haive.games.mastermind.engines.generate_guess_prompt Module Contents --------------- .. py:function:: generate_analysis_prompt(player) Generate a prompt for analyzing a Mastermind position. This function constructs a prompt template for the analyzer engine, which analyzes the current game state from the perspective of the specified player. .. py:function:: generate_codemaker_prompt() Generate a prompt for creating a secret code in Mastermind. This function constructs a prompt template for the codemaker engine, which generates a secret code for the Mastermind game. .. py:function:: generate_guess_prompt(player) Generate a prompt for making a guess in Mastermind. This function constructs a prompt template for the guess engine, which generates a guess for the Mastermind game.