play.py
def determine_player_type(number: int) -> PlayerType:
    """
    Prompts user to enter whether a player is human or AI.

    Args:
        number: the player number to tell the user

    Returns:
        PlayerType.HUMAN or PlayerType.AI
    """
    response = input(f"Is player {number} a human or AI? [h/A] ")
    return PlayerType.HUMAN if response.lower() in ("h", "human") else PlayerType.AI

    Prompts user to enter whether a player is human or AI.

    Args:
        number: the player number to tell the user

    Returns:
        PlayerType.HUMAN or PlayerType.AI
    
Prompts user to enter whether a player is human or AI.
Prompts user to enter whether a player is human or AI .
def determine_player_type(number: int) -> PlayerType:
    response = input(f"Is player {number} a human or AI? [h/A] ")
    return PlayerType.HUMAN if response.lower() in ("h", "human") else PlayerType.AI
def determine_player_type ( number : int ) -> PlayerType : response = input ( f"Is player {number} a human or AI? [h/A] " ) return PlayerType . HUMAN if response . lower ( ) in ( "h" , "human" ) else PlayerType . AI
Prompts user to enter whether a player is human or AI.
Prompts user to enter whether a player is human or AI .
"""
    Prompts user to enter whether a player is human or AI.

    Args:
        number: the player number to tell the user

    Returns:
        PlayerType.HUMAN or PlayerType.AI
    """
PlayerType.HUMAN or PlayerType.AI
PlayerType . HUMAN or PlayerType . AI
number
int
the player number to tell the user
the player number to tell the user