diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-16 00:54:48 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-28 23:33:22 +0100 |
commit | cb7a68797acd3ecdac28e10eefc4d45c45f25222 (patch) | |
tree | 239e1a1038189a7750afca78be42ed08543439a0 | |
parent | 3806f4314837fcdb952173076b133944844f32df (diff) | |
download | maria-cb7a68797acd3ecdac28e10eefc4d45c45f25222.tar.gz |
sort flags
-rw-r--r-- | play.js | 34 | ||||
-rw-r--r-- | rules.js | 37 |
2 files changed, 37 insertions, 34 deletions
@@ -104,22 +104,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_MOVE_FLANDERS = 1024 -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 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 @@ -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 |