Frontend: lobby view (player list, code, start game) #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
After creating or joining a lobby, players see a waiting room.
Files to create
apps/web/src/routes/multiplayer/lobby.$code.tsx— lobby view route.apps/web/src/components/multiplayer/LobbyView.tsx— main lobby component.apps/web/src/components/multiplayer/PlayerList.tsx— connected players.Behavior
lobby:join.lobby:state: update player list in real time.lobby:startreceived: navigate to game route.lobby:leave.Acceptance criteria