aclap-dev / joclyboard

Multiplatform 3D/2D desktop application for playing board games
Other
44 stars 20 forks source link

A castling don't work properly and then game freezes after some moves in Malett Chess_JoclyBoard_0.9.12 #20

Open ecobabush opened 7 years ago

ecobabush commented 7 years ago

The same situation exists on the web variant of Malett Chess at www.jocly.com There is no difference between black and white. In both cases a castling don't work properly. When a castling is made the king and the rook stay on the same field (square). In this situation the king is visible, but the rook is not (in 3D). In 2D they both are visible, but the king is under the rook. When the king moves again, the rook becomes visible, but it is impossible to move it anymore. Once the king could not move one position to the right (as it should), but only 2 and 3. When a castling is made, then after some moves (1-5) each game freezes. Sometimes an empty window with diagonal red cross pops up.

mi-g commented 7 years ago

If the castling has been wrongly defined and leaves 2 pieces on the same position, the freezing is not surprising. This should not be hard to fix (that is in Jocly project, not JoclyBoard. Any candidate ?

ecobabush commented 7 years ago

I have made commit and pull request. It is my first pull request and I had some troubles with commits (newline at the end of the files).Then I understood it doesn't matter. Excuse me for that.