GNOME Bugzilla – Bug 679078
Castling with opposing bishop/knight
Last modified: 2012-07-12 21:53:26 UTC
Created attachment 217557 [details] Black king castling with white bishop, glChess 3.4.1 glChess 3.4.1 allows short and long castling with opposing bishops and knights. Attached, is a PNG showing a sequence of movements played in the stated version that allows the black king to castle with the white bishop; note that the PGN ends with a 0-0 on black's side. A similar sequence allows castling with the white knight, and likewise for long castling, or for white king castling with black pieces. Castling with opposing rooks and queens is not possible in this scenario because they put the king in check; interestingly, the opposing king does not allow castling, long or short, in these circumstances. The condition checks should probably make sure that capturing the rook disables castling as much as moving it.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. http://git.gnome.org/browse/gnome-games/commit/?id=a98e2e336cbb1f398264cb5bb3978e99b8acd4d1