jcarolus / android-chess

Chess game for Android.
https://play.google.com/store/apps/details?id=jwtc.android.chess
MIT License
396 stars 261 forks source link

Fischer castling not working? #164

Open sorsted opened 8 months ago

sorsted commented 8 months ago

I tried using position 17 in Fischer Random chess. Turns out I was unable to castle kingside, even after moving the left rook. As far as I understand the source code, in case of “ambiguous castling” such as this, a dialogue box is supposed to show up asking you if you would like to castle or simply move the king. But no such dialogue box shows up when I test the app.

EDIT: Let me add that this interface for Fischer castling (with a dialogue box) is extremely confusing and very unusual. In practically all other chess apps, you do Fischer castling by moving the king onto the rook.

jcarolus commented 4 months ago

Thanks for pointing to this issue. The business logic and UI for castling needs a makeover.