miguel-ambrona / sherlock

A chess library written in Rust, oriented to creating and solving chess compositions with especial emphasis on retrograde analysis.
MIT License
5 stars 0 forks source link

White back rank captures plus one more capture #39

Closed hwatheod closed 3 weeks ago

hwatheod commented 3 weeks ago

Sherlock doesn't detect this position as illegal: rn2kb2/pp5p/2bppp2/2p2p2/2Nq4/5N2/PPPPPPPP/2B1KB2 b - -

Issue

White R+Q+R were captured on the first rank, plus one more Black pawn capture on the f-file, is too many.

miguel-ambrona commented 3 weeks ago

As in #38 , non-determinism will fix this.

I'll think about alternatives.

miguel-ambrona commented 3 weeks ago

Fixed in #48