game:answer WS handler — collect answers #44
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
During multiplayer, players submit answers via WebSocket. Server collects and determines when to evaluate.
Files to change
apps/api/src/ws/handlers/gameHandlers.tsBehavior varies by mode
Simultaneous (Race to the Top, Elimination):
Turn-based (Chain Link):
Buzzer (TV Quiz Show):
game:buzzclaims question.game:answer.Acceptance criteria
Notes
Answer evaluation logic exists in
gameService.evaluateAnswer(). Multiplayer version wraps it with coordination.