v2.2.0
- Added command-line parsing to allow launching a game between builtin players
- Added threefold repetition rule
- Tweaked castling and en passant abilities
- According to the linked rules (should have read it thoroughly!), there were some potentially incorrect moves (either missing or unnecessarily present) that could have been generated.
- Tweaked possible move calculations: move must be valid on current board, but not necessarily on both boards
- According to the linked rules (should have read it thoroughly!!!), a piece may teleport into a position to block check, since the move was valid on the board it was on (the king was not in check on that board), and the move is legal because the king is no longer in check.
v2.2.1
(I forgot to update the readme with the new command-line arguments, but changes for v2.3.0 were already committed by the time I did. Please see this compare for the relevant commits for v2.2.1.)
- Updated readme for new command-line arguments