lichess-org / mobile

Lichess mobile app v2
GNU General Public License v3.0
1.36k stars 196 forks source link

fix castling in 960 #995

Closed HaonRekcef closed 2 months ago

HaonRekcef commented 2 months ago

Fix #983: Implements logic to avoid converting the castling move when the rook is on the same square, along with a test case to prevent similar issues in the future.