• Mahmoud Aglan's avatar
    nuke: delete entire PHP frontend, rebuild as vanilla JS SPA · 9d4a6fa3
    Mahmoud Aglan authored
    DELETED:
    - All 50+ PHP pages, templates, includes
    - app.css and app-v2.css (1782 + 700 lines of accumulated CSS)
    
    CREATED:
    - app/core/ — SPA engine (router, state, api, audio, haptics, particles, animate)
    - app/screens/ — ES module screens (home, login + placeholders for all routes)
    - app/styles/ — Design token system + animations + components
    - index.php — now serves SPA shell for all non-API routes
    
    ARCHITECTURE:
    - Vanilla JS SPA with ES Modules (no build step, no framework)
    - History API router with animated transitions
    - Web Audio API synthesizer for game sounds
    - Canvas particle system (confetti, coin bursts)
    - Web Animations API for juice (number tickers, fly-to, pop, shake)
    - Haptic feedback patterns via navigator.vibrate
    - Game engines load on-demand as classic scripts (zero modifications)
    
    API endpoints (24) completely unchanged. Game engine JS (25 files) unchanged.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    9d4a6fa3
Name
Last commit
Last update
Connections and docs Loading commit data...
api Loading commit data...
app 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...
Dockerfile Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...