From bbcc4798c959efe9a0056da85224409c418dec9d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 30 Sep 2023 00:47:39 +0200 Subject: Add village names as HTML text. --- play.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 9a5b1c1..75e92d2 100644 --- a/play.js +++ b/play.js @@ -30,11 +30,11 @@ function find_piece(name) { for (let info of data.reinforcements) info.list = info.list.map(name => find_piece(name)) -let yoff = 1555 -let xoff = 36 -let hex_dx = 58.67 -let hex_dy = 68 -let hex_r = 56 >> 1 +const yoff = 1555 +const xoff = 36 +const hex_dx = 58.67 +const hex_dy = 68 +const hex_r = 56 >> 1 function set_has(set, item) { if (!set) -- cgit v1.2.3