Commit Graph
18 Commits
Author SHA1 Message Date
jessy-david-dev afe1dfd2d7 refactor(sse): improve error handling and connection cleanup 2026-04-14 16:32:32 +02:00
jessy-david-dev 90b14919c5 feat(multiplayer): replace polling with server-sent events and redis pub/sub 2026-04-14 16:00:09 +02:00
jessy-david-dev 2a3dd6be56 fix: sync totalRounds changes to server, filter geographic admin articles, validate user exists before saving game 2026-04-13 15:42:00 +02:00
jessy-david-dev 169f71c67d fix(multi): sync game mode changes to server in lobby 2026-04-12 23:59:40 +02:00
jessy-david-dev 5627a4bb30 feat(multi): award points based on both clicks and time 2026-04-11 23:08:09 +02:00
jessy-david-dev b1fcbbdb04 feat(multi): add configurable time limit per round with countdown display 2026-04-11 22:41:40 +02:00
jessy-david-dev 1aad4d74a9 fix(multi): disable player prune during playing phase to prevent kick on long reads 2026-04-11 22:13:51 +02:00
jessy-david-dev 1153f574a4 fix(multi): prevent player kick on slow load and background tab throttling 2026-04-11 22:12:39 +02:00
jessy-david-dev c3152058ce feat(multi): display player paths in round results screen 2026-04-11 22:08:56 +02:00
jessy-david-dev d4bb21da5d style(lobby): format game mode labels and search toggle 2026-04-11 22:03:00 +02:00
jessy-david-dev ede083f881 fix(multi): restrict search and game settings to room host only 2026-04-11 22:02:06 +02:00
jessy-david-dev 0401cdffe6 feat(multi): add game mode selection and surrender button for all_finish mode 2026-04-11 21:58:35 +02:00
jessy-david-dev 552bb17c15 feat(rooms): migrate multiplayer room storage from memory to PostgreSQL 2026-04-11 17:37:56 +02:00
jessy-david-dev 5cd32c37e0 chore(linting): remove unused eslint-disable directives 2026-04-11 15:41:35 +02:00
jessy-david-dev d5a66c2dac chore(api): add explicit type casting for request payloads 2026-04-11 15:20:29 +02:00
jessy-david-dev e9f39c572d feat(game): add configurable rounds per room 2026-04-11 13:47:05 +02:00
jessy-david-dev d245232497 fix(api): improve security and performance in leaderboard and rooms 2026-04-11 13:37:50 +02:00
jessy-david-dev dc09658fdb feat: add user accounts, authentication, and game history with Prisma 7
- Implement user registration and login with NextAuth v5 (email/password, JWT)
- Add authentication modal in UI with login/register tabs
- Create user profile screen showing game statistics and history
- Integrate Prisma 7 ORM with SQLite database for data persistence
- Store game results (mode, path, clicks, time) in database
- Auto-save completed games only when user is authenticated
- Separate business logic into reusable hooks (useSoloGame, useMultiGame)
- Organize UI into composable screen components (HomeScreen, SoloScreen, ProfileScreen, etc)
- Add session persistence across F5 refresh for solo and multiplayer
- Style auth modal, account button, and profile stats dashboard
2026-04-10 15:43:07 +02:00