Frontend: multiplayer game route #47
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
Active multiplayer game view — questions and answers in real time via WebSocket.
Files to create
apps/web/src/routes/multiplayer/game.$code.tsxapps/web/src/components/multiplayer/MultiplayerGame.tsxBehavior
game:questionvia WebSocket: display using existingQuestionCardandOptionButton.game:answervia WebSocket.game:answer_result: show correct answer, per-player results.game:finished: navigate to results screen.Acceptance criteria
QuestionCardandOptionButtonfromapps/web/src/components/game/