rewrote the whole GetDirection function + minor bugfix in castling updates

This commit is contained in:
rektdie committed 2024-04-15 09:21:03 +02:00
1 parent 4226b21043
commit ff0c0c785a
3 files changed
+25 -18

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ int main() {
initSliderAttacks();
Board board;
//board.SetByFen("rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8");
board.SetByFen("8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - 0 1");
Perft(board, 5);
return 0;