jordanbray / chess

A rust library to manage chess move generation
https://jordanbray.github.io/chess/
MIT License
243 stars 55 forks source link

960 #72

Open s-arash opened 2 years ago

s-arash commented 2 years ago

I made changes to support chess 960. I changed CastleRights to keep track of castling rooks. Also, castle moves are encoded as 'king takes rook'. This is not a backwards compatible change, so accepting this pull request requires bumping up the major version of the crate.