• Mahmoud Aglan's avatar
    feat: complete platform gap fixes — ELO, XP, shop, achievements, notifications, feature flags · b9932348
    Mahmoud Aglan authored
    - api/game.php: ELO rating update after bot games (K-factor from DB), XP awards
      (50/game + 30 win bonus), level-up detection, economy transaction logging,
      game stats (total_games_played, wins/draws/losses)
    - api/daily-reward.php: XP award (25/claim), level-up check, economy tx logging
    - api/shop.php: rewritten to use correct tables (cosmetics + player_cosmetics),
      equip/unequip support, feature flag check, economy tx logging
    - api/friends.php: notifications on friend request sent/accepted
    - api/matchmaking.php: notifications on match found, feature flag check
    - api/bots.php: feature flag check (bot_games_enabled)
    - config/database.php: added check_feature_flag() helper
    - includes/feature-flags.php: new cached feature flag system (60s file cache)
    - includes/header.php: includes feature-flags.php
    - pages/shop.php: updated to use cosmetic_type enums, equip UI
    - templates/nav-*.php: hide disabled features (shop, tournaments)
    - DB: seeded 25 achievements, 11 cosmetics, 1 test tournament, disabled trivia
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    b9932348
Name
Last commit
Last update
..
achievements.php Loading commit data...
analysis.php Loading commit data...
auth.php Loading commit data...
bots.php Loading commit data...
config.php Loading commit data...
daily-reward.php Loading commit data...
friends.php Loading commit data...
game.php Loading commit data...
games.php Loading commit data...
leaderboard.php Loading commit data...
ludo.php Loading commit data...
matchmaking.php Loading commit data...
multiplayer.php Loading commit data...
notifications.php Loading commit data...
orgs.php Loading commit data...
profile.php Loading commit data...
puzzles.php Loading commit data...
shop.php Loading commit data...
theme-upload.php Loading commit data...
theme.php Loading commit data...
tournaments.php Loading commit data...