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

Implement a system to ensure that a user cannot join multiple lobbies at once #406

Open
jiyeongchloe opened this issue Dec 4, 2023 · 0 comments

Comments

@jiyeongchloe
Copy link
Contributor

jiyeongchloe commented Dec 4, 2023

Goals: Currently, users are allowed to join any lobby they would like, including lobbies that would be playing matches concurrently. Because the match start conditions partly rely on the fact that there are enough players in the lobby to play the game, it would not make sense to let players choose which lobby/match they would like to commit to after the match is allowed to start. We need to implement a system to ensure that a user cannot join multiple lobbies at once. For example, if we detect that a user wanting to join lobby A is currently in another lobby whose match has not started yet, we can prompt the user to leave that lobby before joining lobby A.

Deliverables:

  • Documentations about uniqueness constraint?
  • Pull Request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant