engine.py
def make_move(self, move):
        """Make a change to the game_state described by the Move instance move.
        The value of the game state is also updated.
        """
        for triple in move.change_list:
            self.board[triple[0]] = triple[2]
            if triple[1]:
                self.value -= triple[1].value
            if triple[2]:
                self.value += triple[2].value
        self.en_passant_target_square_history.append(self.en_passant_target_square)
        self.en_passant_target_square = move.en_passant_target_square
        self.white_to_play = not self.white_to_play
Make a change to the game_state described by the Move instance move.
        The value of the game state is also updated.
        
Make a change to the game_state described by the Move instance move.
The value of the game state is also updated.
Make a change to the game_state described by the Move instance move . The value of the game state is also updated .
def make_move(self, move):
        for triple in move.change_list:
            self.board[triple[0]] = triple[2]
            if triple[1]:
                self.value -= triple[1].value
            if triple[2]:
                self.value += triple[2].value
        self.en_passant_target_square_history.append(self.en_passant_target_square)
        self.en_passant_target_square = move.en_passant_target_square
        self.white_to_play = not self.white_to_play
def make_move ( self , move ) : for triple in move . change_list : self . board [ triple [ 0 ] ] = triple [ 2 ] if triple [ 1 ] : self . value -= triple [ 1 ] . value if triple [ 2 ] : self . value += triple [ 2 ] . value self . en_passant_target_square_history . append ( self . en_passant_target_square ) self . en_passant_target_square = move . en_passant_target_square self . white_to_play = not self . white_to_play
Make a change to the game_state described by the Move instance move.
Make a change to the game_state described by the Move instance move .
"""Make a change to the game_state described by the Move instance move.
        The value of the game state is also updated.
        """
self
move