if self.get_pos() in moves: pos1 = self.get_pos() self._board.move_piece(self._board.get_held_piece(),pos1) self._board.update_pi