From 5b65134ecc391c252c586d76319cd85d4f2cf711 Mon Sep 17 00:00:00 2001 From: Brian Fertig Date: Sun, 17 May 2026 12:35:02 -0600 Subject: [PATCH] fix: reposition player chips in Phase10 slot layouts - Update chip coordinates for bottom, top, left, and right slots to improve visual alignment and prevent overlap with other UI elements. --- public/src/games/phase10/Phase10Game.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/src/games/phase10/Phase10Game.js b/public/src/games/phase10/Phase10Game.js index 8913acc..456ef34 100644 --- a/public/src/games/phase10/Phase10Game.js +++ b/public/src/games/phase10/Phase10Game.js @@ -70,7 +70,7 @@ function slotLayout(slot) { laidAxis: 'x', portrait: { x: 120, y: 990, r: 56 }, nameLabel: { x: 120, y: 1056 }, - chip: { x: 240, y: 990 }, + chip: { x: 752, y: 870 }, rotateCards: 0, }; case 'top': @@ -83,7 +83,7 @@ function slotLayout(slot) { laidAxis: 'x', portrait: { x: 120, y: 70, r: 50 }, nameLabel: { x: 120, y: 134 }, - chip: { x: 240, y: 70 }, + chip: { x: 752, y: 180 }, rotateCards: 180, }; case 'left': @@ -96,7 +96,7 @@ function slotLayout(slot) { laidAxis: 'y', portrait: { x: 100, y: 130, r: 50 }, nameLabel: { x: 100, y: 196 }, - chip: { x: 220, y: 130 }, + chip: { x: 148, y: 468 }, rotateCards: 90, }; case 'right': @@ -109,7 +109,7 @@ function slotLayout(slot) { laidAxis: 'y', portrait: { x: 1820, y: 130, r: 50 }, nameLabel: { x: 1820, y: 196 }, - chip: { x: 1700, y: 130 }, + chip: { x: 1492, y: 468 }, rotateCards: 270, }; default: