appu226 / SpaceChessEngine

C++ chess project for fun and learning
Apache License 2.0
0 stars 2 forks source link

Fixed updating of castling rights on rook captures #15

Closed arjunradhakrishna closed 3 years ago

arjunradhakrishna commented 3 years ago

On capturing a rook on any of a1, a8, h1, h8 should lose the appropriate color the castling rights on the appropriate side. This PR fixes the previously broken behaviour.