summaryrefslogtreecommitdiff
path: root/interactor
diff options
context:
space:
mode:
Diffstat (limited to 'interactor')
-rw-r--r--interactor/game.html2
-rw-r--r--interactor/game.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/interactor/game.html b/interactor/game.html
index 20def4f..7f04e7c 100644
--- a/interactor/game.html
+++ b/interactor/game.html
@@ -9,7 +9,7 @@
<link rel="stylesheet" href="/game.css">
</head>
<body>
-<canvas id="cvs" width="370" height="370"></canvas> <br>
+<canvas id="cvs" width="368" height="368"></canvas> <br>
<div id="status"></div>
diff --git a/interactor/game.js b/interactor/game.js
index 85674b1..bf2b97f 100644
--- a/interactor/game.js
+++ b/interactor/game.js
@@ -5,7 +5,7 @@ var EMPTY = 0, WHITE = 1, KING = 2, BLACK = 4;
var BOARDMID = N * ~~(N/2) + ~~(N/2);
var cvs, ctx;
-var cellSize = 40, cvsSize = N * cellSize + N+1;
+var cellSize = 40, cvsSize = N * cellSize + N-1;
var socket;
var playing = false, onturn = null, aiplayer = null;
var lastMove = null;