feat(#14): Achievement system with badges #25

Merged
ti-paul merged 1 commit from feature/14-achievements into main 2026-06-12 06:08:41 +00:00
Member

Closes #14

New: server/achievements.js

  • 13 achievements across 5 tiers (bronze->diamond)
  • Pixel milestones, streaks, chat, special
  • Progress tracking, unlock detection
  • ASCII rendering

28 tests. 88 total pass.

Closes #14 ## New: server/achievements.js - 13 achievements across 5 tiers (bronze->diamond) - Pixel milestones, streaks, chat, special - Progress tracking, unlock detection - ASCII rendering 28 tests. **88 total pass.**
feat(#14): Achievement system with badges and unlock notifications
Some checks failed
CI / test (pull_request) Failing after 0s
64a8dff673
New module server/achievements.js:
- 13 achievements: pixel milestones, streaks, chat, special
- 5 tiers: bronze, silver, gold, platinum, diamond
- checkUnlock: per-achievement unlock condition
- checkAllAchievements: detect newly unlocked
- getAchievementProgress: progress bar (0-1)
- getUserAchievements: load from DB
- unlockAchievement: persist to DB
- formatAchievement/renderAchievements: display

28 new tests. All 88 tests pass. Closes #14.
ti-paul left a comment
No description provided.
28 tests, 88 total. 13 achievements, 5 tiers. LGTM.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/pixel-clash!25
No description provided.