bugfix: epCapture on square a1 was possible

This commit is contained in:
rektdie committed 2024-04-10 10:13:52 +02:00
1 parent 1a25479a8c
commit d6574824fd
3 files changed
+16 -3

No files matched your search

+2 -2
View File
@@ -9,9 +9,9 @@ int main() {
initSliderAttacks();
Board board;
board.SetByFen("r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1");
board.SetByFen("r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1R1K b kq - 1 1");
board.PrintBoard();
Perft(board, 1);
Perft(board, 2);
return 0;
}