summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-05 00:52:16 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-06 01:50:27 +0100
commitf70e6b96fd41958e1e90eec77273667e908234fc (patch)
tree825f606d248f280fe9931ad6b8914ecab1531e4f /play.js
parent7f7d113b4bf743a7706254f83cc3264f491f5864 (diff)
downloadmaria-f70e6b96fd41958e1e90eec77273667e908234fc.tar.gz
Co-operative Flanders movement until dispute.
Diffstat (limited to 'play.js')
-rw-r--r--play.js16
1 files changed, 13 insertions, 3 deletions
diff --git a/play.js b/play.js
index 76aeb9e..f92ac77 100644
--- a/play.js
+++ b/play.js
@@ -109,8 +109,11 @@ const F_SAXONY_TC_ONCE = 128 // only draw TCs once per turn
const F_FRANCE_REDUCED = 256
const F_PRUSSIA_NEUTRAL = 512
const F_MOVE_FLANDERS = 1024
-const F_INTRODUCTORY = 2048
-const F_TWO_PLAYER = 4096
+const F_MOVE_COOP = 2048
+const F_INTRODUCTORY = 4096
+const F_TWO_PLAYER = 8192
+const F_PLAYER_A_PICK = 16384 // picked PC card
+const F_PLAYER_B_PICK = 32768
const SPADES = 0
const CLUBS = 1
@@ -124,11 +127,11 @@ const ELIMINATED = data.cities.name.length
const ARENBERG = 17
const SAXONY_GENERAL = 19
-const SAXONY_TRAIN = 29
const PRUSSIAN_TRAIN_2 = 23
const all_powers = [ 0, 1, 2, 3, 4, 5 ]
const all_major_powers = [ 0, 1, 2, 3 ]
+const all_minor_powers = [ 4, 5 ]
const all_power_generals = [
[ 0, 1, 2, 3, 4 ],
@@ -1592,15 +1595,22 @@ function on_update() {
action_button("next", "Next")
action_button("done", "Done")
+ confirm_action_button("restart", "Restart",
+ "Restart movement phase on Flanders map?")
+ confirm_action_button("dispute", "Dispute",
+ "Dispute order of movement on Flanders map and restart movement phase?")
+
action_button("end_political_card", "End political card")
action_button("end_place_hussars", "End place hussars")
action_button("end_cards", "End card draw")
action_button("end_setup", "End setup")
action_button("end_recruit", "End recruit")
+ action_button("end_flanders", "End Flanders")
action_button("end_movement", "End movement")
action_button("end_combat", "End combat")
action_button("end_supply", "End supply")
action_button("end_turn", "End turn")
+ action_button("end_bohemia", "End Bohemia")
confirm_action_button("confirm_end_movement", "End movement",
"You have NOT moved ANY pieces!\nAre you sure you want to SKIP movement?")