Answer evaluation + broadcast results #45
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 all players answer (or timeout), evaluate and broadcast results.
Files to change
apps/api/src/ws/handlers/gameHandlers.tsBehavior
game:answer_resultwith correctOptionId, per-player results, eliminated players.Mode-specific
Acceptance criteria
Notes
Consider a strategy pattern where each game mode implements
evaluateRound()to avoid deep nesting.