pychess-variants
pychess-variants copied to clipboard
Slight flicker when my move almost simultaneously made with update from the other board
During a fast paced game, when I make a move, and immediately after that a move is made on the other board, before my move has been processed by the server and a confirmation board message was received, the board message from the other board makes my board to get redrawn with the previous position on it before the move i have just made. Milliseconds after that the board message confirming my move was processed by the server eventually arrives and fixes everything, but the flicker with my move undone is quite noticeable during that time window.
Action items:
- maybe check for ply number when processing the board message from partner board and do not update my board based on its fen if it detects a move was made that this message doesnt know about