From cb7a68797acd3ecdac28e10eefc4d45c45f25222 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 16 Nov 2024 00:54:48 +0100 Subject: sort flags --- rules.js | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 8143afd..4e45a61 100644 --- a/rules.js +++ b/rules.js @@ -1,6 +1,6 @@ "use strict" -const DEBUG = 1 +const DEBUG = 0 const R_LOUIS_XV = "Louis XV" const R_FREDERICK = "Frederick" @@ -92,23 +92,24 @@ const DI_B_PHASE = 5 const DI_A_PROMISE = 6 const DI_B_PROMISE = 7 -const F_EMPEROR_FRANCE = 1 -const F_EMPEROR_AUSTRIA = 2 -const F_ITALY_FRANCE = 4 -const F_ITALY_AUSTRIA = 8 -const F_SILESIA_ANNEXED = 16 -const F_IMPERIAL_ELECTION = 32 // imperial election card revealed! -const F_WAR_OF_JENKINS_EAR = 64 // -1 France TC for one turn -const F_SAXONY_TC_ONCE = 128 // only draw TCs once per turn -const F_FRANCE_REDUCED = 256 -const F_PRUSSIA_NEUTRAL = 512 -const F_PRUSSIA_NEUTRAL_2 = 65536 -const F_MOVE_FLANDERS = 1024 -const F_MOVE_DISPUTE = 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 F_MOVE_FLANDERS = 1 +const F_MOVE_DISPUTE = 2 +const F_SAXONY_TC_ONCE = 4 +const F_FRANCE_REDUCED = 8 +const F_EMPEROR_FRANCE = 16 +const F_EMPEROR_AUSTRIA = 32 +const F_ITALY_FRANCE = 64 +const F_ITALY_AUSTRIA = 128 +const F_SILESIA_ANNEXED = 256 +const F_IMPERIAL_ELECTION = 512 +const F_PRUSSIA_NEUTRAL = 1024 +const F_PRUSSIA_NEUTRAL_2 = 2048 +const F_WAR_OF_JENKINS_EAR = 4096 + +const F_INTRODUCTORY = 8192 +const F_TWO_PLAYER = 16384 +const F_PLAYER_A_PICK = 32768 // picked PC card +const F_PLAYER_B_PICK = 65536 // promise validation phases const V_POLITICS = 1 -- cgit v1.2.3