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

End the game early in case of a timeout #259

Merged
merged 3 commits into from
May 3, 2024
Merged

End the game early in case of a timeout #259

merged 3 commits into from
May 3, 2024

Conversation

bovard
Copy link
Member

@bovard bovard commented May 2, 2024

No description provided.

@bovard bovard requested review from dster2 and lipovetz May 2, 2024 22:38
Copy link
Contributor

@dster2 dster2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Bovard!

elif end_early:
end_game(active2, inactive2, 0, DONE, DONE)
else:
increment_turn(active2, inactive2, step, guessed)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could use a helper to reduce duplication

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, merging now to get this deployed, but will follow up

@bovard bovard merged commit a769e3f into master May 3, 2024
4 checks passed
@bovard bovard deleted the timeout branch May 3, 2024 07:59
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

Successfully merging this pull request may close these issues.

2 participants