• Mahmoud Aglan's avatar
    feat: database-driven data — bots from API, games from game_plugins, config from system_config · ae663aab
    Mahmoud Aglan authored
    - New /api/bots.php: proxies Stockfish API /api/chess/bots with 5min cache
    - New /api/games.php: reads game_plugins table (game list, time controls, config)
    - New /api/config.php: serves system_config (reward amounts, matchmaking, etc.)
    - pages/bots.php: fetches bot list dynamically from API (names, ratings, styles)
    - pages/games.php: renders game grid from game_plugins DB table
    - pages/play.php: populates bot dropdown from API
    - pages/game.php: loads bot name from API instead of hardcoded map
    - pages/home.php: loads reward config from API, bot names for recent games
    - pages/ludo.php: loads difficulty options from game config
    - api/daily-reward.php: reads reward amounts from system_config table
    - analysis.js: fetches bot names from API cache
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    ae663aab
games.php 584 Bytes