• 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
Connections and docs Loading commit data...
api Loading commit data...
config Loading commit data...
includes Loading commit data...
pages Loading commit data...
public Loading commit data...
templates Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
Dockerfile Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...