Server: Host reassignment #201
Labels
D2
Medium Difficulty
draft
Ticket is still being written - don't work on it yet
new-member
Issue is appropriate for new members
P2
Medium Priority
Task Description:
When a host is done playing or wants to switch out, we need to redefine a host.
We will use a queue for people to jump into, where after every game, the top 2 in the queue will become players.
Implementation Steps:
Refactor client manager to allow changing the host and client redefinition.
Add a setup screen with a waiting room to allow for clients to add themselves to the queue.
Have the queue show up during the game so people know where they are in line.
Make sure api and game manager are updated whenever the host changes.
Allow clients to leave the queue at any time, either by clicking a cancel button or closing the tab.
Additional Notes and Resources:
Eventually, we may want to implement line skipping, so make sure the queue can be reordered if necessary.
If you have any questions while working on this task, don't hesitate to do any one of the following:
The text was updated successfully, but these errors were encountered: