Be able to move the king and check if in check
I thought Pieces.get_move_options() to create an empty new board and set every field that the other colour has in check to False, and the others to True. Then check if the new_position is a valid move by checking this board with move options.
Be able to move the king and check if in check
I thought
Pieces.get_move_options()to create an empty new board and set every field that the other colour has in check toFalse, and the others toTrue. Then check if thenew_positionis a valid move by checking this board with move options.