board.py
def status(self) -> Status:
        """
        Checks if the game is won, tied, or ongoing.

        Returns:
            Status.PLAYER_1_WINS if the first player wins
            Status.PLAYER_2_WINS if the second player wins
            Status.TIE if the game has ended in a tie
            Status.ONGOING otherwise
        """
        # check for a win
        value = self.heuristic_value()
        if value >= self.VICTORY_VALUE:
            return Status.PLAYER_1_WINS
        if value <= self.LOSS_VALUE:
            return Status.PLAYER_2_WINS
        # if no values in the grid are None, it is a tie
        if self.__check_for_draw():
            return Status.TIE
        # game has not ended
        return Status.ONGOING

        Checks if the game is won, tied, or ongoing.

        Returns:
            Status.PLAYER_1_WINS if the first player wins
            Status.PLAYER_2_WINS if the second player wins
            Status.TIE if the game has ended in a tie
            Status.ONGOING otherwise
        
Checks if the game is won, tied, or ongoing.
Checks if the game is won tied or ongoing .
def status(self) -> Status:
        value = self.heuristic_value()
        if value >= self.VICTORY_VALUE:
            return Status.PLAYER_1_WINS
        if value <= self.LOSS_VALUE:
            return Status.PLAYER_2_WINS
        if self.__check_for_draw():
            return Status.TIE
        return Status.ONGOING
def status ( self ) -> Status : value = self . heuristic_value ( ) if value >= self . VICTORY_VALUE : return Status . PLAYER_1_WINS if value <= self . LOSS_VALUE : return Status . PLAYER_2_WINS if self . __check_for_draw ( ) : return Status . TIE return Status . ONGOING
Checks if the game is won, tied, or ongoing.
Checks if the game is won tied or ongoing .
"""
        Checks if the game is won, tied, or ongoing.

        Returns:
            Status.PLAYER_1_WINS if the first player wins
            Status.PLAYER_2_WINS if the second player wins
            Status.TIE if the game has ended in a tie
            Status.ONGOING otherwise
        """ # check for a win
 # if no values in the grid are None, it is a tie
 # game has not ended

Status.PLAYER_1_WINS if the first player wins
Status.PLAYER_2_WINS if the second player wins
Status.TIE if the game has ended in a tie
Status.ONGOING otherwise
Status . PLAYER_1_WINS if the first player wins Status . PLAYER_2_WINS if the second player wins Status . TIE if the game has ended in a tie Status . ONGOING otherwise
self