From b6d6cd49d0e77338c1a71640476ef17dfb89bfe9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 24 Sep 2023 12:18:46 +0200 Subject: Log appearance. Blown results - click on piece. --- play.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 182454f..5bb9c6b 100644 --- a/play.js +++ b/play.js @@ -409,6 +409,7 @@ function on_update() { ui.remain.style.left = (109 + (view.remain % 10) * 47.5 | 0) + "px" ui.remain.classList.toggle("flip", view.remain > 9) + action_button("blow", "Blow") action_button("roll", "Roll") action_button("next", "Next") action_button("end_step", "End step") @@ -417,13 +418,13 @@ function on_update() { } const DICE = { - D0: '0', - D1: '1', - D2: '2', - D3: '3', - D4: '4', - D5: '5', - D6: '6', + D0: '[0]', + D1: '[1]', + D2: '[2]', + D3: '[3]', + D4: '[4]', + D5: '[5]', + D6: '[6]', } function sub_dice(match) { -- cgit v1.2.3