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

Player was able to sit down at two seats at the same time #412

Open
piggydoughnut opened this issue Feb 10, 2021 · 0 comments
Open

Player was able to sit down at two seats at the same time #412

piggydoughnut opened this issue Feb 10, 2021 · 0 comments

Comments

@piggydoughnut
Copy link
Collaborator

Backend has to make sure it does not allow the same user to sit at two different seats.

GUI needs to hide SIT HERE from other seats once the user clicked on any SEAT.

  1. User clicks on SIT HERE
  2. All other seats become blank while GUI is waiting for the server response
  3. Once server responds with
    3.1 seat_taken: 0 then the user takes that seat.
    3.2 seat_taken: 1 -> server pushes information on the new seats occupancy. SIT HERE appears for all the available seats.
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