Commit Graph

40 Commits

Author SHA1 Message Date
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
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
15d28ef053 rewrite game manager: ordered predictions, predictionSubmitted, remove dishes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:10:35 +01:00
518354ae75 replace esc-2026 country-only data with esc-2025 full entries (flag, artist, song)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:07:06 +01:00
5a429eb798 remove dish WS messages, update prediction message to first/second/third/last
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:05:49 +01:00
2edffdd7f9 rewrite game types: entry model with flag/artist/song, ordered predictions, remove dishes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:05:25 +01:00
eed14f863c update acts to pre-show/live-event/scoring, add ACT_LABELS, remove unused constants
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:03:17 +01:00
d3b61e3735 rename celebrate-esc to esc in deploy script, server log 2026-03-12 12:29:31 +01:00
883b109dad fix WS handler test to drain game_state messages after connect 2026-03-12 12:26:04 +01:00
2114084234 fix host dish visibility, show correct countries to host
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:18:58 +01:00
a587cd66c4 add game status to display view
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:18:26 +01:00
5d527dfc8e add game UI to host view
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:18:05 +01:00
59777a79c3 add game UI to player view
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:17:29 +01:00
d6b0c62646 add game manager unit tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:16:07 +01:00
448c6ee8e6 add WS handlers for predictions, dishes game messages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:15:31 +01:00
1b0348de23 add game service for DB persistence of predictions, dishes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:13:57 +01:00
7a330c173c handle game WS messages in client hook
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:13:43 +01:00
8c2d2cefd9 wire game manager into room manager
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:13:40 +01:00
f9f5afaec9 add game manager for predictions, dishes in-memory state
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:13:07 +01:00
63d1893d6c add dish UI components (player list, host controls, results)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:13:06 +01:00
544c27638c add game state to zustand store
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:12:50 +01:00
a26f050688 add predictions form component
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:12:28 +01:00
22bae2aa82 add WS message types for predictions, dishes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:10:52 +01:00
4ee2252dde add shared game types for predictions, dishes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:10:24 +01:00
e619a5f1a9 add ESC 2026 country lineup data
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 11:10:02 +01:00
0cd1d9d2f6 fix TanStack Router basepath for production subpath deployment
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:09:51 +01:00
a109cfb3c1 add deploy script, fix production paths, use port 3006
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:01:59 +01:00
ff311b5fac implement foundation + room system (Plan 1 of 5)
Bun workspace monorepo with shared, server, client packages.
Server: Hono + @hono/node-ws, Drizzle + PostgreSQL, in-memory room manager
with WebSocket broadcasting, HTTP room creation, DB persistence layer.
Client: React 19 + Vite + Tailwind v4 + shadcn/ui, TanStack Router with
landing/display/host/player routes, Zustand store, WebSocket connection hook.
20 tests passing (room manager unit + WS integration).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 12:52:32 +01:00