nerdware/apps/web/src
AyoubBenziza 5cc9113b8c feat(quiz): quiz game mode end-to-end (server mode + playable client UI)
Server:
- quiz mode (GameRound): in-memory FR question bank (mcq + truefalse),
  per-room anti-repeat, first-vote lock, score = base + speed bonus ∝ time
  left; registered via registerRound, loaded at startup
- shared: typed quiz payloads (QuizQuestionPayload / reveal truth / result)
- tests: quiz scoring, vote lock, bounds, reveal (bun test)

Client:
- room store handles round:start / voteAck / reveal / game:end
- RoomPage dispatches by status: lobby (host start controls) → quiz view
  (question, countdown, vote, reveal + scoreboard) → game-end view
- replaces standalone lobby page

Roadmap V1 step 4. Verified end-to-end over the wire (start→vote→reveal→
score→next round→game:end, no answer leaked, anti-repeat works).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 15:43:17 +02:00
..
components feat(quiz): quiz game mode end-to-end (server mode + playable client UI) 2026-06-08 15:43:17 +02:00
lib feat(server,web): first real-time cycle — room create/join + lobby 2026-06-08 15:16:26 +02:00
pages feat(quiz): quiz game mode end-to-end (server mode + playable client UI) 2026-06-08 15:43:17 +02:00
store feat(quiz): quiz game mode end-to-end (server mode + playable client UI) 2026-06-08 15:43:17 +02:00
App.tsx feat(quiz): quiz game mode end-to-end (server mode + playable client UI) 2026-06-08 15:43:17 +02:00
main.tsx feat: initial commit 2026-06-07 18:45:52 +02:00