Skip to content

Achievements & Badges β€” gamification rewards systemΒ #5

@Empreiteiro

Description

@Empreiteiro

Description

Introduce an achievements/badges system that rewards players for reaching milestones and performing notable feats across battles.

Proposed Badges

Badge Name Condition
🩸 First Blood Win your first battle
πŸ† Champion Win 10 battles
🐢 Underdog Win a battle while having fewer public votes
πŸ”₯ On Fire Win 3 battles in a row (streak)
πŸ‘‘ Dominator Finish a battle with 90%+ territory
πŸ’€ Flawless Win a battle where opponent scored 0
βš”οΈ Challenger Accept and win a 1v1 challenge (waiting battle)
🌍 Social Butterfly Participate in 10+ battles
πŸ“ Committer Accumulate 1000+ commits across all battles
πŸ”€ PR Machine Accumulate 100+ pull requests across all battles
πŸ‘€ Reviewer Accumulate 50+ code reviews across all battles
🎯 Sniper Win a battle by 1 point margin
🏟️ Arena Master Create 10 battles

Details

  • Badge display: Show earned badges on the global leaderboard player cards (depends on Global Leaderboard β€” all-time player rankingsΒ #1)
  • Badge notification: Toast/popup when a badge is earned at the end of a battle
  • Storage: Player badge data stored in Netlify Blobs alongside leaderboard data
  • Badge page: /badges route showing all available badges with locked/unlocked state

Acceptance Criteria

  • Badge definitions and unlock conditions implemented
  • Badges evaluated at battle completion
  • Visual badge icons displayed on player profiles
  • Notification when a new badge is earned
  • /badges page showing all badges with descriptions

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions