Commit Graph
8 Commits
Author SHA1 Message Date
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 e9f39c572d feat(game): add configurable rounds per room 2026-04-11 13:47:05 +02:00
jessy-david-dev 6378056f97 refactor(page): extract screen routing into ScreenRouter component 2026-04-10 16:47:13 +02:00
jessy-david-dev 8f62b7edbf refactor(page): extract all effects into useGameEffects hook 2026-04-10 16:45:57 +02:00
jessy-david-dev 4f6e793c74 refactor(page): extract handlers and utils into dedicated modules 2026-04-10 16:44:24 +02:00
jessy-david-dev 9e13d83251 feat(game): auto-save multiplayer game results when round ends 2026-04-10 16:40:33 +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
jessy-david-dev ca760cf8b0 Initial commit from Create Next App 2026-04-10 11:46:43 +02:00