3 Commits
Author SHA1 Message Date
alex 38aa0752cb kanban: apply worker changes — evaluate polish, db index, mobile stats styling 2026-08-09 23:13:09 +00:00
alex f2e61a6c13 feat: game stats tracking with SQLite persistence
- Add game_stats table: pony_type, tema, successes, failures, victory, dice rolls
- Record stats automatically when a game finishes (via /api/kast or /api/interact)
- New GET /api/stats endpoint: total games, win rate, by pony type, by tema, recent games
- Stats include: total_games, total_victories, win_rate, by_pony_type, by_tema, recent_games
2026-08-09 18:07:48 +00:00
alex 466dbc2214 refactor: game state persistence (SQLite), cookie-based sessions, health/reset endpoints 2026-08-09 07:44:42 +00:00