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

Reachable field in analysis #16

Closed miguel-ambrona closed 6 months ago

miguel-ambrona commented 6 months ago

Introduce a new field to keep track of all the reachable squares by every piece.

Add a simple mobility rule that removes from the mobility graphs all the arrows that go from/into or pass through steady pieces.