You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took almost all of the opponent's pieces (except for one pawn and the king) and then made a random move that didn't put its king in check - yet in response the game said "Checkmate! You win". I think the opponent may not have had any valid moves, which presumably triggered the checkmate detector, but this should have counted as a stalemate.
The text was updated successfully, but these errors were encountered:
Uh. You're actually right, it completely slipped my mind to test for this... I should be able to fix this fairly easily, but it'll take a bit of shuffling things around.
(Note to future self: the correct order is (1) delete all invalid next moves (2) report checkmate if in check and only one board left (3) report stalemate if only one board left and not in check, (4) delete the board where the pieces didn't move, (5) run the argmax board selection algorithm.)
I took almost all of the opponent's pieces (except for one pawn and the king) and then made a random move that didn't put its king in check - yet in response the game said "Checkmate! You win". I think the opponent may not have had any valid moves, which presumably triggered the checkmate detector, but this should have counted as a stalemate.
The text was updated successfully, but these errors were encountered: