Commit Graph
5 Commits
Author SHA1 Message Date
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 12031b7507 fix(article): keep references and related sections visible in wikipedia display 2026-04-13 00:01:33 +02:00
jessy-david-dev 05e5cb04b9 fix(multi): redirect to lobby after next round and reset game; keep article detail links visible 2026-04-12 16:33:18 +02:00
jessy-david-dev d268905f2d style: apply prettier formatting across codebase 2026-04-11 22:25:34 +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