• Mahmoud Aglan's avatar
    fix: daily rewards streak tracking + achievements system · 432f8feb
    Mahmoud Aglan authored
    Daily rewards:
    - Server now tracks streak, prevents double-claim, resets on missed day
    - GET endpoint returns current state (streak, claimed status, today's reward)
    - Updates profile daily_streak + last_daily_reward columns
    - Frontend fetches state from server instead of relying on local store
    
    Achievements:
    - New scene with category filters, progress bars, tier badges
    - POST check action recalculates all progress from player stats
    - game.php now tracks win_streak and checks achievements on game end
    - Rewards (coins/XP) auto-granted when achievement completes
    
    Challenges:
    - Claim tracking via economy_transactions prevents double-claims
    - Fixed column name (reason, not description)
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    432f8feb
Name
Last commit
Last update
..
achievements.php Loading commit data...
activity.php Loading commit data...
ads.php Loading commit data...
analysis.php Loading commit data...
auth.php Loading commit data...
avatar.php Loading commit data...
battlepass.php Loading commit data...
bots.php Loading commit data...
branding.php Loading commit data...
challenges.php Loading commit data...
config.php Loading commit data...
daily-reward.php Loading commit data...
domino.php Loading commit data...
friends.php Loading commit data...
game.php Loading commit data...
leaderboard.php Loading commit data...
ludo-match.php Loading commit data...
ludo.php Loading commit data...
match-history.php Loading commit data...
matchmaking.php Loading commit data...
multiplayer.php Loading commit data...
notifications.php Loading commit data...
org-apply.php Loading commit data...
orgs.php Loading commit data...
profile.php Loading commit data...
puzzles.php Loading commit data...
ratings.php Loading commit data...
shop.php Loading commit data...
swiss.php Loading commit data...
theme.php Loading commit data...
tournament-match.php Loading commit data...
tournaments.php Loading commit data...