summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-24 12:18:46 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:22 +0200
commitb6d6cd49d0e77338c1a71640476ef17dfb89bfe9 (patch)
tree14f14a4b2377b967ee8bdc16062d99aebf9a0e5f /play.js
parent1c45f29cd419c14acf13e7823866a14e60641905 (diff)
downloadwaterloo-campaign-1815-b6d6cd49d0e77338c1a71640476ef17dfb89bfe9.tar.gz
Log appearance. Blown results - click on piece.
Diffstat (limited to 'play.js')
-rw-r--r--play.js15
1 files changed, 8 insertions, 7 deletions
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) {