bugfix: GetPinningRay jumped through the board
This commit is contained in:
1 parent
054129b67b
commit
ae581e0f03
3 files changed
+11
-4
No files matched your search
+2
-2
@@ -9,8 +9,8 @@ int main() {
|
||||
initSliderAttacks();
|
||||
|
||||
Board board;
|
||||
board.SetByFen("r4rk1/1pp1qppp/p1npBn2/2b1p1B1/4P1b1/P1NP1N2/1PP1QPPP/R4RK1 b - - 1 10");
|
||||
Perft(board, 3);
|
||||
board.SetByFen("rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8");
|
||||
Perft(board, 2);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user