Closed hwatheod closed 2 months ago
Sherlock doesn't detect this position as illegal: 4k2r/pp1pp1p1/1np2n1p/qr3p2/2PP1N1P/B1PQP1PB/P2KNPR1/R7 b - -
4k2r/pp1pp1p1/1np2n1p/qr3p2/2PP1N1P/B1PQP1PB/P2KNPR1/R7 b - -
It is illegal because there are too many white captures: White captured the black bishops on c8, f8, plus one more pawn capture on the c-file.
Thanks for this!
This will be captured automatically when we introduce non-deterministic rules to make pawn origins concrete.
I'll consider handling it in a different way though.
Sherlock doesn't detect this position as illegal:
4k2r/pp1pp1p1/1np2n1p/qr3p2/2PP1N1P/B1PQP1PB/P2KNPR1/R7 b - -
It is illegal because there are too many white captures: White captured the black bishops on c8, f8, plus one more pawn capture on the c-file.