summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-15 22:55:56 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit2d1f76aca97aeaa097e062fdb57764c30b797ac5 (patch)
tree17a3c39ee1a2250f033cfebd6d4e165c14f1b79c /ui.js
parentb796e7eaa8c903fea688e5affa24a98f5e929212 (diff)
downloadshores-of-tripoli-2d1f76aca97aeaa097e062fdb57764c30b797ac5.tar.gz
tripoli: Show tournament rule scoring points.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index e5adacf..32b1a33 100644
--- a/ui.js
+++ b/ui.js
@@ -184,6 +184,8 @@ function on_update() {
show_action_button("#button_next", "next");
show_action_button("#button_undo", "undo");
+ document.getElementById("tr_score").textContent = game.tr.score;
+ document.getElementById("us_score").textContent = game.us.score;
document.getElementById("tr_info").textContent = tr_info();
document.getElementById("us_info").textContent = us_info();