Skip to content

Server: Host reassignment #201

@ymmot239

Description

@ymmot239

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:

  • Ask a lead at a meeting
  • Post in Discord
  • Reply to this issue

Metadata

Metadata

Assignees

Labels

D2Medium DifficultyP2Medium Prioritynew-memberIssue is appropriate for new members

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions