Commit Graph

20 Commits

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