Achievements as config
A keyed object with rule builders like rules.count and rules.streak. Tiers expand one entry into bronze, silver and gold. Hidden ones stay secret until earned.
Points, streaks, tiers, leaderboards and badges. You tell the engine what your users did. It works out the rest, and celebrates the unlocks.