From 639b37c354f9c532e52dbd08345967ff68c1fd72 Mon Sep 17 00:00:00 2001 From: Brian Fertig Date: Sun, 17 May 2026 10:49:16 -0600 Subject: [PATCH] fix: adjust SkipBo slot coordinates for improved layout alignment - Shift stock, discard, hand, portrait, and label positions for 'bottom' and 'top' slots in `slotLayout`. - Ensures elements are correctly centered and spaced on the game board. --- public/src/games/skipbo/SkipBoGame.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/public/src/games/skipbo/SkipBoGame.js b/public/src/games/skipbo/SkipBoGame.js index 8096164..55c66d3 100644 --- a/public/src/games/skipbo/SkipBoGame.js +++ b/public/src/games/skipbo/SkipBoGame.js @@ -67,26 +67,26 @@ function slotLayout(slot) { case 'bottom': return { rotation: 0, - stock: { x: 260, y: 950 }, - discards: [{x:430,y:950},{x:550,y:950},{x:670,y:950},{x:790,y:950}], - handStart:{ x: 1000, y: 1000 }, + stock: { x: 460, y: 950 }, + discards: [{x:630,y:950},{x:750,y:950},{x:870,y:950},{x:990,y:950}], + handStart:{ x: 1110, y: 950 }, handAxis: 'x', - portrait: { x: 120, y: 950, r: 60 }, - nameLabel:{ x: 120, y: 1030 }, - stockCntPos: { x: 260, y: 880 }, + portrait: { x: 320, y: 950, r: 60 }, + nameLabel:{ x: 320, y: 1030 }, + stockCntPos: { x: 460, y: 880 }, rotateCards: 0, outlineRotation: 0, }; case 'top': return { rotation: 180, - stock: { x: 260, y: 130 }, - discards: [{x:430,y:130},{x:550,y:130},{x:670,y:130},{x:790,y:130}], + stock: { x: 560, y: 130 }, + discards: [{x:730,y:130},{x:850,y:130},{x:970,y:130},{x:1090,y:130}], handStart:{ x: 1000, y: 80 }, handAxis: 'x', - portrait: { x: 120, y: 130, r: 60 }, - nameLabel:{ x: 120, y: 210 }, - stockCntPos: { x: 260, y: 60 }, + portrait: { x: 420, y: 130, r: 60 }, + nameLabel:{ x: 420, y: 210 }, + stockCntPos: { x: 560, y: 60 }, rotateCards: 180, outlineRotation: 0, };