Commit Graph

85 Commits

Author SHA1 Message Date
4ada13ca9f add quiz schemas to shared types: QuizQuestion, GameState fields, WS messages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 06:48:21 +01:00
8caf9ab2f3 add quiz questions data file (20 Eurovision questions)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 06:48:18 +01:00
48986137db show actual results summary on display in scoring/ended
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:18:57 +01:00
6cc164dfe5 show scored predictions in player route during scoring/ended
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:18:28 +01:00
ec7e6fd869 wire ActualResultsForm and prediction results in host route
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:18:15 +01:00
01f78e920e add prediction points to leaderboard display and explanation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:17:54 +01:00
3b470787b5 show correct/incorrect markers on locked predictions when results are in
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:17:20 +01:00
ef0f88551d add ActualResultsForm component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:16:58 +01:00
f390c21903 add submit_actual_results WS handler with validation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:14:43 +01:00
c7a11e80d3 add prediction scoring to GameManager with tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:14:28 +01:00
44ea815f95 add submit_actual_results WS message type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:12:52 +01:00
00e17d1f28 add actual results schema, prediction points to leaderboard and game state
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 22:12:41 +01:00
8372769c9b add prediction scoring implementation plan
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:45:17 +01:00
f0dc35610e add prediction scoring design spec
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:40:25 +01:00
4e06930796 remove Dish of the Nation from design spec, scoring config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:37:26 +01:00
38a0c9f55a fix host UX: revert act, inline open/close voting, larger bingo text, scoring explanation, simplify player list
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:22:35 +01:00
4cfff0eaa5 switch deploy from drizzle-kit migrate to push --force
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:12:00 +01:00
f22dba6134 add jury rounds, jury votes, bingo cards DB tables
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:02:02 +01:00
60a5962519 integrate jury display, bingo announcements, leaderboard in display route
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:02:01 +01:00
a71308f6f0 integrate jury controls, bingo, leaderboard in host route
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:02:00 +01:00
611a1bf732 integrate jury voting, bingo tabs in player route
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 21:01:55 +01:00
c768d7340a add leaderboard component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:50:33 +01:00
f6223ae9fa add bingo display component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:50:33 +01:00
7f5dba6e03 add bingo card player component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:50:31 +01:00
8ee9295b4e add jury display component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:28:35 +01:00
094fd1feeb add jury host controls component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:28:34 +01:00
d247c2519e add jury voting player component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:28:33 +01:00
302f2e14c0 handle new jury, bingo WS message types in client
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:28:25 +01:00
ceba5521dc add jury voting, bingo WS message handlers
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:51:32 +01:00
7cb52291f3 add getPlayerDisplayNames to RoomManager
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:50:51 +01:00
aedd3c032a extend GameManager game state with jury, bingo, leaderboard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:50:43 +01:00
b79ddb9679 add bingo logic to GameManager with tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:50:07 +01:00
0703364945 add jury voting logic to GameManager with tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:49:17 +01:00
e48ee2ca35 add jury voting, bingo WS message types
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:45:35 +01:00
9ec0225e4b add jury, bingo, leaderboard schemas to shared game types
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:45:32 +01:00
c31f849de3 add bingo tropes data file (35 tropes)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:45:27 +01:00
0019024066 add Act 2 (jury voting + bingo) implementation plan 2026-03-12 19:42:49 +01:00
6f1a63e4c9 fix stale act names in room-service.ts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:54:18 +01:00
4516d3743b delete dish components
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:46:57 +01:00
0561f9350b update routes: remove dish UI, update act refs, add copy-to-clipboard on lobby display
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:43:58 +01:00
42f032f67c use ACT_LABELS from shared constants in room header
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:41:49 +01:00
c49b41c64e add prediction submission checkmark to player list
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:40:23 +01:00
4489c774e5 rewrite predictions form as tap-to-assign with 4 ranked slots
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:39:47 +01:00
f9e01f18fd simplify room store, remove dish message handlers from websocket hook
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:38:53 +01:00
aaee0f6b0d fix room manager test: update act names to match new constants
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:20:33 +01:00
ae88d0ad59 rewrite game manager tests for new prediction model
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:30:36 +01:00
d61d5dfa69 replace getPlayerLookup with getAllPlayerIds in room manager
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:14:28 +01:00
4932b47833 update WS handler: remove dish handlers, broadcast prediction checkmarks, lock on live-event
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:13:36 +01:00
19bbd225b2 simplify game service: remove dish persistence, update prediction columns
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:12:43 +01:00
2ba74a8773 update DB schema: rename acts, update prediction columns, remove dish/jury/bingo/quiz tables
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:12:21 +01:00