Castling in chess is not working correctly in https://gcompris.net/download/qt/linux/beta/gcompris-qt-1.0-beta-Linux64.sh, the prerelease for version 1.0. It works correctly in version 0.81.
After castling, the game allows no more moves (though it is possible undo...kind of).
Steps to reproduce:
- White: E2 -> E3
- Black: A7 -> A6
- W: G1 -> G3
- B: B7 -> B6
- W: F1 -> E2
- B: C7 -> C6
- Click on the white king on E1
So far, so good.
- Click on G1
Expected behavior:
The white king moves to G2, the white rook on H1 moves to F1, no pieces are listed as being captured, no squares are highlighted, and the text at the top of the screen says "Black's turn".
Actual behavior:
The king does move to G1. However, the white rook on H1 disappeared, there are two white rooks in the list of white pieces that black has captured, F1 and G1 are still highlighted, and the text at the top of the screen says "White's turn".
Clicking on the white king on G2 causes it to move one square to the left and one square below A1.
At this point, it is not possible to move any piece. Clicking the undo button mostly gives the expected behavior though. The only issue is that there is still one white rook listed as having been captured by black (even though white still has all 16 of its original pieces on the board).
Steps 7, 8, and clicking undo can be repeated now. Each time they are repeated, another white root is listed as having been captured by black.