• Mahmoud Aglan's avatar
    fix: piece click offset + redesign home screen · 8a856349
    Mahmoud Aglan authored
    - Canvas coords: scale CSS pixels to logical canvas coordinates properly
      (fixes the offset between where you tap and what gets selected)
    - Canvas touchAction:none prevents browser gestures interfering
    - Canvas width/height explicitly set in style to match logical size
    
    Home screen redesign:
    - Games as 2x2 grid of large colorful tiles (center stage)
    - Tap game → bottom sheet menu slides up with:
      - Single Player (bots + local play)
      - Multiplayer (online ranked)
      - Feature chips: Leaderboard, My Matches, Puzzles (chess only)
    - No more carousel that gets cut off
    - Game-feel: tiles scale down on press, smooth spring animation
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    8a856349
Name
Last commit
Last update
.claude Loading commit data...
Connections and docs Loading commit data...
api Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
public Loading commit data...
screenshots Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
ARCHITECTURE.md Loading commit data...
BUILD_ORDER.md Loading commit data...
DATABASE_REFERENCE.md 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...