Skip to content
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

vm panics with "game is already finished" if first white move is too long (1 min) #131

Open
mvertes opened this issue Sep 25, 2023 · 2 comments

Comments

@mvertes
Copy link

mvertes commented Sep 25, 2023

But the game hasn't started yet. It happens if white takes 1 min or more to make its first move. Note that the white clock is not started yet and there is no incentive for white to play fast its first move.

@tbruyelle
Copy link
Contributor

Pretty sure this is fixed by #147

What happened is the new game appended to the game list, was actually not new but was the previous one that was finished, hence the message game is already finished.

@thehowl
Copy link
Collaborator

thehowl commented Sep 26, 2023

Mhh, no, this is just the first move rule (after 30s, user is automatically timed out and game is aborted).

The idea is though that the frontend should be calling ClaimTimeout and being able to show the "Aborted" screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants