Description
Create an analytics module that aggregates and exposes data insights for both players and puzzle performance. Understanding how players interact with puzzles helps the game improve over time — which puzzles have high abandon rates, which are solved fastest, where players drop off. This module feeds dashboards and informs content decisions.
Acceptance Criteria
Description
Create an
analyticsmodule that aggregates and exposes data insights for both players and puzzle performance. Understanding how players interact with puzzles helps the game improve over time — which puzzles have high abandon rates, which are solved fastest, where players drop off. This module feeds dashboards and informs content decisions.Acceptance Criteria
analyticsmodule is scaffolded atsrc/analytics/GET /analytics/puzzles/:idreturns solve rate, average time, average score, and hint usage rateGET /analytics/player/:userIdreturns sessions played, puzzles solved, and average scoreGET /analytics/overview(admin-only) returns platform-wide aggregatesfromandtoquery params