diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-24 12:18:46 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-01 16:11:22 +0200 |
commit | b6d6cd49d0e77338c1a71640476ef17dfb89bfe9 (patch) | |
tree | 14f14a4b2377b967ee8bdc16062d99aebf9a0e5f /play.js | |
parent | 1c45f29cd419c14acf13e7823866a14e60641905 (diff) | |
download | waterloo-campaign-1815-b6d6cd49d0e77338c1a71640476ef17dfb89bfe9.tar.gz |
Log appearance. Blown results - click on piece.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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) { |