summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-17 00:54:56 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-17 00:57:05 +0200
commita9b211ca1e938b56acf24d16a9b9aa68fe5ad67d (patch)
treeb87422357d8146fabb5c690ba5c48d1a022dea38 /play.js
parent551c834b8b842517926a7101edb7ab5bede35b80 (diff)
downloadmaria-a9b211ca1e938b56acf24d16a9b9aa68fe5ad67d.tar.gz
Force march.
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/play.js b/play.js
index 1c08fbd..0f92565 100644
--- a/play.js
+++ b/play.js
@@ -120,7 +120,7 @@ const piece_name = [
"Saxon ST",
"Pragmatic Army ST",
"Austrian ST", "Austrian ST", "Austrian ST",
- "hussars", "hussars",
+ "Hussars", "Hussars",
]
let suit_class = [ "spades", "clubs", "hearts", "diamonds", "reserve" ]
@@ -972,11 +972,12 @@ function on_update() {
action_button_with_argument("value", v, v)
for (let p = 0; p < 20; ++p) {
- action_button_with_argument("unstack", p, "Unstack " + piece_abbr[p])
action_button_with_argument("promote", p, "Promote " + piece_abbr[p])
action_button_with_argument("demote", p, "Demote " + piece_abbr[p])
}
+ action_button("force_march", "Force march")
+
action_button("take", "Take")
action_button("give", "Give")
action_button("recruit", "Recruit")