game_start#

Module for handling the game start process, including collecting user input and generating initial prompts.

async src.game_start.collect_start_input(interaction, config, game_data)[source]#

This function is the entry point for the view to collect game start input

Parameters:
  • interaction (Interaction) – Interaction object

  • config (Configuration) – App configuration

  • game_data (ProcessInput) – Game data object

async src.game_start.get_first_phase_prompt(config, game_data)[source]#

This function generates the prompt messages for the first phase of the game start process based on the selected start condition.

Parameters:
Returns:

List of prompt messages

Return type:

list[dict]

async src.game_start.get_second_phase_prompt(config, game_data)[source]#

This function generates the prompt messages for the second phase of the game start process based on the selected start condition.

Parameters:
Returns:

List of prompt messages

Return type:

list[dict]