From f5b24d179d944afeadb4064895910017bff7557d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Fri, 6 Dec 2019 00:37:10 +0100 Subject: [PATCH] align --- .idea/workspace.xml | 20 +++++++++++++++++--- script.js | 4 ++-- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 99a10c3..3d1057a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,6 @@ - - @@ -70,14 +68,30 @@ + + + + + + + diff --git a/script.js b/script.js index b4e606e..279f2ac 100644 --- a/script.js +++ b/script.js @@ -44,8 +44,8 @@ class Board { const gap = 6; const xstep = 86+gap; const ystep = 75+gap; - const xbase = 300; - const ybase = 60; + const xbase = 370; + const ybase = 90; let rx = xbase + xstep * x - y*Math.floor(xstep/2); let ry = ybase + ystep * y;