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.
This commit is contained in:
Brian Fertig 2026-05-17 10:49:16 -06:00
parent 7c564ff629
commit 639b37c354
1 changed files with 11 additions and 11 deletions

View File

@ -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,
};