Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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