lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.52k stars 2.26k forks source link

Rook dissappears during castling in Chess960 with move confirmation #4837

Closed dmamujee closed 4 years ago

dmamujee commented 5 years ago

When castling in the game board in a Chess960 game, the new position of the King and Rook are not properly displayed, as the Rook disappears and the King is showed in the incorrect position. This does not happen in the Analysis board, but only in the game board.

I noticed this in Correspondence games and it is consistently reproducible.

ornicar commented 5 years ago

How can I reproduce it?

What's your browser name and version?

dmamujee commented 5 years ago

It happens every Chess960 game I play. I'm using Chrome Version 70.0.3538.77.

Unihedro commented 5 years ago

cannot repro (in unrated timed games). please read https://lichess.org/variant/chess960 - especially the castling section - and make sure your expectations align with the behaviour written here. If it still doesn't work as expected, please link one of such games

niklasf commented 5 years ago

or even better, a video of the issue

dmamujee commented 5 years ago

lichesscastlebug

dmamujee commented 5 years ago

https://streamable.com/4u4mr

dmamujee commented 5 years ago

When that just happened to me, it was on Ubuntu 16.04, Chrome Version 71.0.3578.98 (64-bit)

niklasf commented 5 years ago

Thanks, that clears it up. The server decides how 960 castling works, but move confirmation delays sending the move to the server.

landry314 commented 4 years ago

i tried to find what "no scala" means but couldnt. does it mean it is too hard to fix? i guess you would need the app to calculate the move itself because it doesnt have the server's help before the move is sent?

niklasf commented 4 years ago

It just means the issue is on the client instead of the server side and therefore does not require knowledge of the programming language Scala to fix. Not sure how that affects the difficulty. I am sure it can be done, it's just not a priority.

niklasf commented 4 years ago

Should be feasible to fix after the next chessground release.