From 65ede200c73ebaa450efc859de99fbc7aa80ed7a Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 1 Jul 2018 22:01:07 +0200 Subject: interactor: Fix canvas size --- interactor/game.html | 2 +- interactor/game.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'interactor') 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 @@ -
+
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; -- cgit v1.2.3-70-g09d2