Commit 419bfdb8 authored by Mahmoud Aglan's avatar Mahmoud Aglan

fix: tighten Ludo piece base positions for better centering

Pull pieces inward toward base center so they sit properly within
the white circle slots instead of near the edges.
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 1b057f79
...@@ -107,28 +107,28 @@ var LudoConstants = (function() { ...@@ -107,28 +107,28 @@ var LudoConstants = (function() {
405: [8, 7], 405: [8, 7],
// P1 Base positions (bottom-left quadrant, center at 3.5, 12.5) // P1 Base positions (bottom-left quadrant, center at 3.5, 12.5)
500: [2.4, 11.4], 500: [2.8, 11.8],
501: [4.6, 11.4], 501: [4.2, 11.8],
502: [2.4, 13.6], 502: [2.8, 13.2],
503: [4.6, 13.6], 503: [4.2, 13.2],
// P2 Base positions (top-left quadrant, center at 3.5, 3.5) // P2 Base positions (top-left quadrant, center at 3.5, 3.5)
600: [2.4, 2.4], 600: [2.8, 2.8],
601: [4.6, 2.4], 601: [4.2, 2.8],
602: [2.4, 4.6], 602: [2.8, 4.2],
603: [4.6, 4.6], 603: [4.2, 4.2],
// P3 Base positions (top-right quadrant, center at 12.5, 3.5) // P3 Base positions (top-right quadrant, center at 11.5, 3.5)
700: [11.4, 2.4], 700: [10.8, 2.8],
701: [13.6, 2.4], 701: [12.2, 2.8],
702: [11.4, 4.6], 702: [10.8, 4.2],
703: [13.6, 4.6], 703: [12.2, 4.2],
// P4 Base positions (bottom-right quadrant, center at 12.5, 12.5) // P4 Base positions (bottom-right quadrant, center at 11.5, 12.5)
800: [11.4, 11.4], 800: [10.8, 11.8],
801: [13.6, 11.4], 801: [12.2, 11.8],
802: [11.4, 13.6], 802: [10.8, 13.2],
803: [13.6, 13.6] 803: [12.2, 13.2]
}; };
var BASE_POSITIONS = { var BASE_POSITIONS = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment