• Mahmoud Aglan's avatar
    nuke v2 SPA, rebuild as single-file app with working games · e620362f
    Mahmoud Aglan authored
    The ES modules approach was overengineered and broken:
    - Import maps failed silently
    - Game engines couldn't find window.App
    - Nothing was responsive
    
    New approach: everything in index.php + one CSS file.
    - Loads public/js/app.js (game engines need App.fetch, App.toast etc)
    - Simple defineScreen() router — no modules, no imports, no build step
    - Chess game works: loads chess.min.js + board.js + game.js, enters immersive mode
    - Ludo/Domino/Backgammon lobbies create games via API
    - All screens responsive (max-width adapts, clamp() on hero heights)
    - Visual identity from DESIGN.md: game-specific gradients, 20px radius cards, gold brand
    - Header shows level + coins + gems (the game currencies, not chess ELO)
    - DESIGN.md added as the visual specification document
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    e620362f
Name
Last commit
Last update
Connections and docs Loading commit data...
api Loading commit data...
app/styles Loading commit data...
config Loading commit data...
migrations Loading commit data...
public Loading commit data...
screenshots Loading commit data...
storage Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
DESIGN.md 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...