No description
En passant state should be cleared after any move that isn't a double push. To support this fix, rename advance_clocks to advance_board_state and let it take an Option<Square>. Every supporting make_move method calls this method to update board state when the make is done. So this is the ideal place to also update e.p. state. |
||
---|---|---|
bitboard | ||
board | ||
core | ||
doc | ||
explorer | ||
moves | ||
position | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
ChessFriend.code-workspace | ||
Makefile | ||
rustfmt.toml |