Closed hwatheod closed 2 weeks ago
Nice! With any white castling enabled this would already be identified as illegal.
Any ideas on how to fix this?
This one (and the similar number 43) is hardcoded as a rule into Retractor. If the king and queen never left the first rank, then their order cannot be switched. There are many similar ordering rules, described here. (A note on terminology: Retractor 'frozen' = Sherlock 'steady')
Sherlock doesn't detect this position as illegal:
2b4r/p2p1pp1/2p1r2p/1p2q1k1/P1Nnp3/8/1PPPPPPP/R1B1KQ1R w - -
The white king and queen are illegally switched on the first rank.