From dbd210967deeccc035b5b1ac713917ab37a9a08a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 23 Oct 2024 09:03:57 +0200 Subject: renumber political cards to start at 0 --- rules.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 5ee586f..5df7f6a 100644 --- a/rules.js +++ b/rules.js @@ -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) -- cgit v1.2.3