diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-23 09:03:57 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-23 09:03:57 +0200 |
commit | dbd210967deeccc035b5b1ac713917ab37a9a08a (patch) | |
tree | 77ae2f725a26995b12510d6a88fbcb5b84699104 /rules.js | |
parent | 1670c2a19ab91d6e5f30080a469cf5c55aac902b (diff) | |
download | maria-dbd210967deeccc035b5b1ac713917ab37a9a08a.tar.gz |
renumber political cards to start at 0
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -99,7 +99,7 @@ const HEARTS = 2 const DIAMONDS = 3 const RESERVE = 4 -const IMPERIAL_ELECTION = 25 +const IMPERIAL_ELECTION = 24 const ELIMINATED = data.cities.name.length @@ -3826,10 +3826,10 @@ const setup_piece_position = [ ] function make_political_deck() { - let deck41 = [ 1, 2, 3, 4, 5, 6 ] - let deck42 = [ 7, 8, 9, 10, 11, 12, 25 ] - let deck43 = [ 13, 14, 15, 16, 17, 18 ] - let deck44 = [ 19, 20, 21, 22, 23, 24 ] + let deck41 = [ 0, 1, 2, 3, 4, 5 ] + let deck42 = [ 6, 7, 8, 9, 10, 11, 25 ] + let deck43 = [ 12, 13, 14, 15, 16, 17 ] + let deck44 = [ 18, 19, 20, 21, 22, 23 ] shuffle_bigint(deck41) shuffle_bigint(deck42) shuffle_bigint(deck43) |