diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 53 |
1 files changed, 52 insertions, 1 deletions
@@ -65,7 +65,58 @@ const COLOR_NAMES = { } const { CARDS } = require("./cards.js") -const { US_STATES } = require("./data.js") + +const US_STATES = [ + null, + { code: "AZ", name: "Arizona", region: 1 }, + { code: "CA", name: "California", region: 1 }, + { code: "ID", name: "Idaho", region: 1 }, + { code: "NM", name: "New Mexico", region: 1 }, + { code: "NV", name: "Nevada", region: 1 }, + { code: "OR", name: "Oregon", region: 1 }, + { code: "UT", name: "Utah", region: 1 }, + { code: "WA", name: "Washington", region: 1 }, + { code: "CO", name: "Colorado", region: 2 }, + { code: "KS", name: "Kansas", region: 2 }, + { code: "MT", name: "Montana", region: 2 }, + { code: "ND", name: "North Dakota", region: 2 }, + { code: "NE", name: "Nebraska", region: 2 }, + { code: "OK", name: "Oklahoma", region: 2 }, + { code: "SD", name: "South Dakota", region: 2 }, + { code: "WY", name: "Wyoming", region: 2 }, + { code: "AL", name: "Alabama", region: 3 }, + { code: "AR", name: "Arkansas", region: 3 }, + { code: "FL", name: "Florida", region: 3 }, + { code: "GA", name: "Georgia", region: 3 }, + { code: "LA", name: "Louisiana", region: 3 }, + { code: "MS", name: "Mississippi", region: 3 }, + { code: "SC", name: "South Carolina", region: 3 }, + { code: "TX", name: "Texas", region: 3 }, + { code: "IA", name: "Iowa", region: 4 }, + { code: "IL", name: "Illinois", region: 4 }, + { code: "IN", name: "Indiana", region: 4 }, + { code: "MI", name: "Michigan", region: 4 }, + { code: "MN", name: "Minnesota", region: 4 }, + { code: "MO", name: "Missouri", region: 4 }, + { code: "OH", name: "Ohio", region: 4 }, + { code: "WI", name: "Wisconsin", region: 4 }, + { code: "DE", name: "Delaware", region: 5 }, + { code: "KY", name: "Kentucky", region: 5 }, + { code: "MD", name: "Maryland", region: 5 }, + { code: "NC", name: "North Carolina", region: 5 }, + { code: "PA", name: "Pennsylvania", region: 5 }, + { code: "TN", name: "Tennessee", region: 5 }, + { code: "VA", name: "Virginia", region: 5 }, + { code: "WV", name: "West Virginia", region: 5 }, + { code: "CT", name: "Connecticut", region: 6 }, + { code: "MA", name: "Massachusetts", region: 6 }, + { code: "ME", name: "Maine", region: 6 }, + { code: "NH", name: "New Hampshire", region: 6 }, + { code: "NJ", name: "New Jersey", region: 6 }, + { code: "NY", name: "New York", region: 6 }, + { code: "RI", name: "Rhode Island", region: 6 }, + { code: "VT", name: "Vermont", region: 6 }, +] function opponent_name() { if (game.active === SUF) { |