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

feature: when a new match is started, stop the previous match if in the past #30

Open
iamgiolaga opened this issue Oct 29, 2024 · 1 comment

Comments

@iamgiolaga
Copy link
Owner

Bug Report

What

If you successfully complete a match, you need to stop the match in order to create a new game.
When users use /start, we should check if there's already existing match and, if that is in the past, we should directly stop the previous one and start a new match.

How to replicate it

no matter what happens, if you use /start with an existing game, it always returns the existing game

Additional Note

challenge: this feature is doable if the user inserts a valid date / time, but if not, we can't compute if the game is in the past. Same for the format, which format should we use to parse day and time?

@iamgiolaga iamgiolaga changed the title Missing feature: when a new match is started, stop the previous match if in the past feature: when a new match is started, stop the previous match if in the past Nov 1, 2024
@iamgiolaga
Copy link
Owner Author

iamgiolaga commented Nov 13, 2024

update: problem would be simplified if we implement #35 first

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

1 participant