• 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
.claude Loading commit data...
ChessPieces Loading commit data...
Connections and docs Loading commit data...
Logo El3ab Loading commit data...
admin Loading commit data...
api Loading commit data...
app icons Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
ludo-playtest Loading commit data...
promo Loading commit data...
public Loading commit data...
screenshots Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
ARCHITECTURE.md Loading commit data...
ASSET_REGISTRY.json Loading commit data...
ASSET_REGISTRY.md Loading commit data...
BUILD_ORDER.md Loading commit data...
DATABASE_REFERENCE.md Loading commit data...
DESIGN.md Loading commit data...
Dockerfile Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
bell.png Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...