bugfix: bishop could pin pieces on a horizontal or vertical line
This commit is contained in:
1 parent
72b327c3ff
commit
8a18d45d4a
2 files changed
+14
-4
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ int main() {
|
||||
initSliderAttacks();
|
||||
|
||||
Board board;
|
||||
board.SetByFen("r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1");
|
||||
board.SetByFen("r4rk1/1pp1qppp/p1np1n2/2b1p1B1/2B1P1b1/P1NP1N2/1PP1QPPP/R4RK1 w - - 0 10");
|
||||
Perft(board, 1);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user