• 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
.claude Loading commit data...
ChessPieces Loading commit data...
Connections and docs Loading commit data...
Logo El3ab Loading commit data...
admin Loading commit data...
api Loading commit data...
app icons Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
ludo-playtest Loading commit data...
promo Loading commit data...
public Loading commit data...
screenshots Loading commit data...
test-screenshots Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
ARCHITECTURE.md Loading commit data...
ASSET_REGISTRY.json Loading commit data...
ASSET_REGISTRY.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...
MULTIPLAYER_RULES.md Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
bell.png Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...
logof.png Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
qr-code.png Loading commit data...
test-tournament-swiss.mjs Loading commit data...
test-tournament-ui.mjs Loading commit data...