board.py
def __copy(self) -> "Board":
        """Returns a new board containing a copy of the current one"""
        new_board = Board(
            self.__rows, self.__columns, self.__players, self.__active_player_index
        )
        new_board.__grid = copy.deepcopy(self.__grid)
        return new_board
Returns a new board containing a copy of the current one
Returns a new board containing a copy of the current one
Returns a new board containing a copy of the current one
def __copy(self) -> "Board":
        new_board = Board(
            self.__rows, self.__columns, self.__players, self.__active_player_index
        )
        new_board.__grid = copy.deepcopy(self.__grid)
        return new_board
def __copy ( self ) -> "Board" : new_board = Board ( self . __rows , self . __columns , self . __players , self . __active_player_index ) new_board . __grid = copy . deepcopy ( self . __grid ) return new_board
Returns a new board containing a copy of the current one
Returns a new board containing a copy of the current one
"""Returns a new board containing a copy of the current one"""
self