-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buggy game #252
Comments
Added checks on playing move so illegal moves won't be saved to db and results in error. There were already some checks but they were not sufficient. Also added a flag on game table, so games with errors can be filtered out. It is unclear why some illegal moves where inserted in the history (and some more moves afterward). I suspect some moves got registered properly in the UI but were not sent to the back end, resulting in de-synchronization between UI and backend. |
Keeping the ticket open because it would be interesting to test all existing games in the db and flag them. Also filter them out from all lists (user data, etc.) |
Found only 1 other such case |
something seems wrong with this game
https://elephantchess.io/game?id=EYI11Ad81jKv
The text was updated successfully, but these errors were encountered: