• Mahmoud Aglan's avatar
    fix: domino layout — correct tile orientation and chain connectivity · 7ef3695b
    Mahmoud Aglan authored
    Layout engine:
    - Non-doubles are landscape (w=48, h=24) in horizontal chains
    - Doubles are portrait (w=24, h=48) perpendicular to horizontal chains
    - Tiles positioned touching each other with GAP=3px between
    - Properly computes half-extents for advance distance
    - Endpoints positioned beyond last tile in chain direction
    
    Tile renderer:
    - Uses w>h to detect landscape orientation (no rotation param needed)
    - Left/right pips in landscape, top/bottom pips in portrait
    - Doubles get accent background
    
    Board:
    - Ghost and animate tiles compute orientation from layout dirIdx
    - No rotation applied (dimensions are pre-computed correctly)
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    7ef3695b
Name
Last commit
Last update
..
auth Loading commit data...
chess Loading commit data...
domino Loading commit data...
ludo Loading commit data...
org Loading commit data...
play Loading commit data...
profile Loading commit data...
puzzles Loading commit data...
rank Loading commit data...
rewards Loading commit data...
shop Loading commit data...
social Loading commit data...
tournaments Loading commit data...