powergrid-engine 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +31 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +17 -0
- package/dist/src/available-moves.d.ts +24 -0
- package/dist/src/available-moves.js +363 -0
- package/dist/src/engine.d.ts +20 -0
- package/dist/src/engine.js +1937 -0
- package/dist/src/gamestate.d.ts +135 -0
- package/dist/src/gamestate.js +30 -0
- package/dist/src/log.d.ts +14 -0
- package/dist/src/log.js +2 -0
- package/dist/src/maps/america.d.ts +55 -0
- package/dist/src/maps/america.js +411 -0
- package/dist/src/maps/australia.d.ts +46 -0
- package/dist/src/maps/australia.js +138 -0
- package/dist/src/maps/badenwurttemberg.d.ts +46 -0
- package/dist/src/maps/badenwurttemberg.js +163 -0
- package/dist/src/maps/benelux.d.ts +46 -0
- package/dist/src/maps/benelux.js +210 -0
- package/dist/src/maps/brazil.d.ts +54 -0
- package/dist/src/maps/brazil.js +292 -0
- package/dist/src/maps/centraleurope.d.ts +54 -0
- package/dist/src/maps/centraleurope.js +236 -0
- package/dist/src/maps/china.d.ts +54 -0
- package/dist/src/maps/china.js +262 -0
- package/dist/src/maps/france.d.ts +54 -0
- package/dist/src/maps/france.js +290 -0
- package/dist/src/maps/germany.d.ts +57 -0
- package/dist/src/maps/germany.js +328 -0
- package/dist/src/maps/indian.d.ts +54 -0
- package/dist/src/maps/indian.js +283 -0
- package/dist/src/maps/italy.d.ts +54 -0
- package/dist/src/maps/italy.js +190 -0
- package/dist/src/maps/japan.d.ts +46 -0
- package/dist/src/maps/japan.js +144 -0
- package/dist/src/maps/korea.d.ts +54 -0
- package/dist/src/maps/korea.js +186 -0
- package/dist/src/maps/middleeast.d.ts +54 -0
- package/dist/src/maps/middleeast.js +225 -0
- package/dist/src/maps/northerneurope.d.ts +54 -0
- package/dist/src/maps/northerneurope.js +197 -0
- package/dist/src/maps/quebec.d.ts +54 -0
- package/dist/src/maps/quebec.js +283 -0
- package/dist/src/maps/russia.d.ts +54 -0
- package/dist/src/maps/russia.js +286 -0
- package/dist/src/maps/southafrica.d.ts +46 -0
- package/dist/src/maps/southafrica.js +152 -0
- package/dist/src/maps/spainportugal.d.ts +54 -0
- package/dist/src/maps/spainportugal.js +289 -0
- package/dist/src/maps/ukireland.d.ts +52 -0
- package/dist/src/maps/ukireland.js +176 -0
- package/dist/src/maps.d.ts +50 -0
- package/dist/src/maps.js +61 -0
- package/dist/src/move.d.ts +63 -0
- package/dist/src/move.js +15 -0
- package/dist/src/powerPlants.d.ts +4 -0
- package/dist/src/powerPlants.js +60 -0
- package/dist/src/prices.d.ts +7 -0
- package/dist/src/prices.js +10 -0
- package/dist/src/randomizeMap.d.ts +3 -0
- package/dist/src/randomizeMap.js +244 -0
- package/dist/src/utils.d.ts +2 -0
- package/dist/src/utils.js +24 -0
- package/dist/wrapper.d.ts +30 -0
- package/dist/wrapper.js +127 -0
- package/index.ts +6 -0
- package/package.json +51 -0
- package/src/available-moves.ts +450 -0
- package/src/engine.spec.ts +163 -0
- package/src/engine.ts +2270 -0
- package/src/fixtures/GermanyRecharged.json +6627 -0
- package/src/fixtures/USAOriginal.json +5216 -0
- package/src/fixtures/supply.json +5792 -0
- package/src/fixtures/undo.json +4102 -0
- package/src/gamestate.ts +164 -0
- package/src/log.ts +17 -0
- package/src/maps/america.ts +411 -0
- package/src/maps/australia.ts +137 -0
- package/src/maps/badenwurttemberg.ts +162 -0
- package/src/maps/benelux.ts +210 -0
- package/src/maps/brazil.ts +306 -0
- package/src/maps/centraleurope.ts +235 -0
- package/src/maps/china.ts +268 -0
- package/src/maps/france.ts +295 -0
- package/src/maps/germany.ts +328 -0
- package/src/maps/indian.ts +289 -0
- package/src/maps/italy.ts +189 -0
- package/src/maps/japan.ts +143 -0
- package/src/maps/korea.ts +185 -0
- package/src/maps/middleeast.ts +225 -0
- package/src/maps/northerneurope.ts +196 -0
- package/src/maps/quebec.ts +304 -0
- package/src/maps/russia.ts +292 -0
- package/src/maps/southafrica.ts +151 -0
- package/src/maps/spainportugal.ts +295 -0
- package/src/maps/ukireland.ts +175 -0
- package/src/maps.ts +123 -0
- package/src/move.ts +83 -0
- package/src/powerPlants.ts +59 -0
- package/src/prices.ts +10 -0
- package/src/randomizeMap.ts +288 -0
- package/src/rankings.spec.ts +18 -0
- package/src/utils.spec.ts +13 -0
- package/src/utils.ts +23 -0
- package/tsconfig.json +17 -0
- package/wrapper.ts +126 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { GameMap } from './../maps';
|
|
2
|
+
export declare enum Regions {
|
|
3
|
+
Red = "red",
|
|
4
|
+
Pink = "pink",
|
|
5
|
+
Purple = "purple",
|
|
6
|
+
Green = "green",
|
|
7
|
+
Brown = "brown",
|
|
8
|
+
Yellow = "yellow"
|
|
9
|
+
}
|
|
10
|
+
export declare enum Cities {
|
|
11
|
+
Parnaiba = "Parnaiba",
|
|
12
|
+
Fortaleza = "Fortaleza",
|
|
13
|
+
Sadluis = "Sadluis",
|
|
14
|
+
Belem = "Belem",
|
|
15
|
+
Teresina = "Teresina",
|
|
16
|
+
Imperatriz = "Imperatriz",
|
|
17
|
+
Maraba = "Maraba",
|
|
18
|
+
Campinagrande = "Campina Grande",
|
|
19
|
+
Petrolina = "Petrolina",
|
|
20
|
+
Natal = "Natal",
|
|
21
|
+
Joaopessoa = "Joaopessoa",
|
|
22
|
+
Recife = "Recife",
|
|
23
|
+
Maceio = "Maceio",
|
|
24
|
+
Aracaju = "Aracaju",
|
|
25
|
+
Salvadordabahia = "Salvador Da Bahia",
|
|
26
|
+
Montesclaros = "Montes Claros",
|
|
27
|
+
Brasilia = "Brasilia",
|
|
28
|
+
Palmas = "Palmas",
|
|
29
|
+
Porangatu = "Porangatu",
|
|
30
|
+
Goiania = "Goiania",
|
|
31
|
+
Uberlandia = "Uberlandia",
|
|
32
|
+
Vitoria = "Vitoria",
|
|
33
|
+
Riodejaneiro = "Rio De Janeiro",
|
|
34
|
+
Saogoncalo = "Sao Goncalo",
|
|
35
|
+
Saopaulo = "Sao Paulo",
|
|
36
|
+
Guarulhos = "Guarulhos",
|
|
37
|
+
Campinas = "Campinas",
|
|
38
|
+
Belohorizonte = "Belo Horizonte",
|
|
39
|
+
Curitiba = "Curitiba",
|
|
40
|
+
Florianopolis = "Florianopolis",
|
|
41
|
+
Portoalecre = "Porto Alecre",
|
|
42
|
+
Pelotas = "Pelotas",
|
|
43
|
+
Urucuaiana = "Urucuaiana",
|
|
44
|
+
Londrina = "Londrina",
|
|
45
|
+
Campogrande = "Campo Grande",
|
|
46
|
+
Macapa = "Macapa",
|
|
47
|
+
Boavista = "Boavista",
|
|
48
|
+
Manaus = "Manaus",
|
|
49
|
+
Portovelho = "Porto Velho",
|
|
50
|
+
Cuiaba = "Cuiaba",
|
|
51
|
+
Vilhena = "Vilhena",
|
|
52
|
+
Riobranco = "Rio Branco"
|
|
53
|
+
}
|
|
54
|
+
export declare const map: GameMap;
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.map = exports.Cities = exports.Regions = void 0;
|
|
4
|
+
const lodash_1 = require("lodash");
|
|
5
|
+
const engine_1 = require("../engine");
|
|
6
|
+
const gamestate_1 = require("../gamestate");
|
|
7
|
+
const utils_1 = require("../utils");
|
|
8
|
+
const powerPlants_1 = require("./../powerPlants");
|
|
9
|
+
var Regions;
|
|
10
|
+
(function (Regions) {
|
|
11
|
+
Regions["Red"] = "red";
|
|
12
|
+
Regions["Pink"] = "pink";
|
|
13
|
+
Regions["Purple"] = "purple";
|
|
14
|
+
Regions["Green"] = "green";
|
|
15
|
+
Regions["Brown"] = "brown";
|
|
16
|
+
Regions["Yellow"] = "yellow";
|
|
17
|
+
})(Regions = exports.Regions || (exports.Regions = {}));
|
|
18
|
+
var Cities;
|
|
19
|
+
(function (Cities) {
|
|
20
|
+
Cities["Parnaiba"] = "Parnaiba";
|
|
21
|
+
Cities["Fortaleza"] = "Fortaleza";
|
|
22
|
+
Cities["Sadluis"] = "Sadluis";
|
|
23
|
+
Cities["Belem"] = "Belem";
|
|
24
|
+
Cities["Teresina"] = "Teresina";
|
|
25
|
+
Cities["Imperatriz"] = "Imperatriz";
|
|
26
|
+
Cities["Maraba"] = "Maraba";
|
|
27
|
+
Cities["Campinagrande"] = "Campina Grande";
|
|
28
|
+
Cities["Petrolina"] = "Petrolina";
|
|
29
|
+
Cities["Natal"] = "Natal";
|
|
30
|
+
Cities["Joaopessoa"] = "Joaopessoa";
|
|
31
|
+
Cities["Recife"] = "Recife";
|
|
32
|
+
Cities["Maceio"] = "Maceio";
|
|
33
|
+
Cities["Aracaju"] = "Aracaju";
|
|
34
|
+
Cities["Salvadordabahia"] = "Salvador Da Bahia";
|
|
35
|
+
Cities["Montesclaros"] = "Montes Claros";
|
|
36
|
+
Cities["Brasilia"] = "Brasilia";
|
|
37
|
+
Cities["Palmas"] = "Palmas";
|
|
38
|
+
Cities["Porangatu"] = "Porangatu";
|
|
39
|
+
Cities["Goiania"] = "Goiania";
|
|
40
|
+
Cities["Uberlandia"] = "Uberlandia";
|
|
41
|
+
Cities["Vitoria"] = "Vitoria";
|
|
42
|
+
Cities["Riodejaneiro"] = "Rio De Janeiro";
|
|
43
|
+
Cities["Saogoncalo"] = "Sao Goncalo";
|
|
44
|
+
Cities["Saopaulo"] = "Sao Paulo";
|
|
45
|
+
Cities["Guarulhos"] = "Guarulhos";
|
|
46
|
+
Cities["Campinas"] = "Campinas";
|
|
47
|
+
Cities["Belohorizonte"] = "Belo Horizonte";
|
|
48
|
+
Cities["Curitiba"] = "Curitiba";
|
|
49
|
+
Cities["Florianopolis"] = "Florianopolis";
|
|
50
|
+
Cities["Portoalecre"] = "Porto Alecre";
|
|
51
|
+
Cities["Pelotas"] = "Pelotas";
|
|
52
|
+
Cities["Urucuaiana"] = "Urucuaiana";
|
|
53
|
+
Cities["Londrina"] = "Londrina";
|
|
54
|
+
Cities["Campogrande"] = "Campo Grande";
|
|
55
|
+
Cities["Macapa"] = "Macapa";
|
|
56
|
+
Cities["Boavista"] = "Boavista";
|
|
57
|
+
Cities["Manaus"] = "Manaus";
|
|
58
|
+
Cities["Portovelho"] = "Porto Velho";
|
|
59
|
+
Cities["Cuiaba"] = "Cuiaba";
|
|
60
|
+
Cities["Vilhena"] = "Vilhena";
|
|
61
|
+
Cities["Riobranco"] = "Rio Branco";
|
|
62
|
+
})(Cities = exports.Cities || (exports.Cities = {}));
|
|
63
|
+
exports.map = {
|
|
64
|
+
name: 'Brazil',
|
|
65
|
+
cities: [
|
|
66
|
+
{ name: Cities.Parnaiba, region: Regions.Red, x: 855, y: 458 },
|
|
67
|
+
{ name: Cities.Fortaleza, region: Regions.Red, x: 961, y: 478 },
|
|
68
|
+
{ name: Cities.Sadluis, region: Regions.Red, x: 772, y: 418 },
|
|
69
|
+
{ name: Cities.Belem, region: Regions.Red, x: 655, y: 378 },
|
|
70
|
+
{ name: Cities.Teresina, region: Regions.Red, x: 846, y: 548 },
|
|
71
|
+
{ name: Cities.Imperatriz, region: Regions.Red, x: 697, y: 535 },
|
|
72
|
+
{ name: Cities.Maraba, region: Regions.Red, x: 581, y: 492 },
|
|
73
|
+
{ name: Cities.Campinagrande, region: Regions.Pink, x: 976, y: 587 },
|
|
74
|
+
{ name: Cities.Petrolina, region: Regions.Pink, x: 872, y: 648 },
|
|
75
|
+
{ name: Cities.Natal, region: Regions.Pink, x: 1061, y: 518 },
|
|
76
|
+
{ name: Cities.Joaopessoa, region: Regions.Pink, x: 1097, y: 576 },
|
|
77
|
+
{ name: Cities.Recife, region: Regions.Pink, x: 1083, y: 637 },
|
|
78
|
+
{ name: Cities.Maceio, region: Regions.Pink, x: 1040, y: 699 },
|
|
79
|
+
{ name: Cities.Aracaju, region: Regions.Pink, x: 995, y: 750 },
|
|
80
|
+
{ name: Cities.Salvadordabahia, region: Regions.Purple, x: 960, y: 808 },
|
|
81
|
+
{ name: Cities.Montesclaros, region: Regions.Purple, x: 795, y: 847 },
|
|
82
|
+
{ name: Cities.Brasilia, region: Regions.Purple, x: 671, y: 817 },
|
|
83
|
+
{ name: Cities.Palmas, region: Regions.Purple, x: 648, y: 663 },
|
|
84
|
+
{ name: Cities.Porangatu, region: Regions.Purple, x: 598, y: 762 },
|
|
85
|
+
{ name: Cities.Goiania, region: Regions.Purple, x: 601, y: 889 },
|
|
86
|
+
{ name: Cities.Uberlandia, region: Regions.Purple, x: 646, y: 964 },
|
|
87
|
+
{ name: Cities.Vitoria, region: Regions.Green, x: 910, y: 971 },
|
|
88
|
+
{ name: Cities.Riodejaneiro, region: Regions.Green, x: 795, y: 1076 },
|
|
89
|
+
{ name: Cities.Saogoncalo, region: Regions.Green, x: 843, y: 1033 },
|
|
90
|
+
{ name: Cities.Saopaulo, region: Regions.Green, x: 721, y: 1134 },
|
|
91
|
+
{ name: Cities.Guarulhos, region: Regions.Green, x: 678, y: 1089 },
|
|
92
|
+
{ name: Cities.Campinas, region: Regions.Green, x: 629, y: 1037 },
|
|
93
|
+
{ name: Cities.Belohorizonte, region: Regions.Green, x: 771, y: 960 },
|
|
94
|
+
{ name: Cities.Curitiba, region: Regions.Brown, x: 615, y: 1144 },
|
|
95
|
+
{ name: Cities.Florianopolis, region: Regions.Brown, x: 665, y: 1214 },
|
|
96
|
+
{ name: Cities.Portoalecre, region: Regions.Brown, x: 590, y: 1281 },
|
|
97
|
+
{ name: Cities.Pelotas, region: Regions.Brown, x: 551, y: 1346 },
|
|
98
|
+
{ name: Cities.Urucuaiana, region: Regions.Brown, x: 444, y: 1250 },
|
|
99
|
+
{ name: Cities.Londrina, region: Regions.Brown, x: 516, y: 1075 },
|
|
100
|
+
{ name: Cities.Campogrande, region: Regions.Brown, x: 440, y: 983 },
|
|
101
|
+
{ name: Cities.Macapa, region: Regions.Yellow, x: 561, y: 317 },
|
|
102
|
+
{ name: Cities.Boavista, region: Regions.Yellow, x: 308, y: 269 },
|
|
103
|
+
{ name: Cities.Manaus, region: Regions.Yellow, x: 258, y: 466 },
|
|
104
|
+
{ name: Cities.Portovelho, region: Regions.Yellow, x: 238, y: 620 },
|
|
105
|
+
{ name: Cities.Cuiaba, region: Regions.Yellow, x: 432, y: 850 },
|
|
106
|
+
{ name: Cities.Vilhena, region: Regions.Yellow, x: 328, y: 741 },
|
|
107
|
+
{ name: Cities.Riobranco, region: Regions.Yellow, x: 87, y: 666 },
|
|
108
|
+
],
|
|
109
|
+
connections: [
|
|
110
|
+
{ nodes: [Cities.Boavista, Cities.Macapa], cost: 22 },
|
|
111
|
+
{ nodes: [Cities.Macapa, Cities.Belem], cost: 10 },
|
|
112
|
+
{ nodes: [Cities.Belem, Cities.Sadluis], cost: 10 },
|
|
113
|
+
{ nodes: [Cities.Sadluis, Cities.Imperatriz], cost: 9 },
|
|
114
|
+
{ nodes: [Cities.Belem, Cities.Imperatriz], cost: 9 },
|
|
115
|
+
{ nodes: [Cities.Belem, Cities.Maraba], cost: 9 },
|
|
116
|
+
{ nodes: [Cities.Macapa, Cities.Maraba], cost: 16 },
|
|
117
|
+
{ nodes: [Cities.Maraba, Cities.Manaus], cost: 22 },
|
|
118
|
+
{ nodes: [Cities.Macapa, Cities.Manaus], cost: 18 },
|
|
119
|
+
{ nodes: [Cities.Boavista, Cities.Manaus], cost: 13 },
|
|
120
|
+
{ nodes: [Cities.Boavista, Cities.Riobranco], cost: 30 },
|
|
121
|
+
{ nodes: [Cities.Riobranco, Cities.Manaus], cost: 23 },
|
|
122
|
+
{ nodes: [Cities.Manaus, Cities.Portovelho], cost: 15 },
|
|
123
|
+
{ nodes: [Cities.Portovelho, Cities.Riobranco], cost: 10 },
|
|
124
|
+
{ nodes: [Cities.Riobranco, Cities.Vilhena], cost: 18 },
|
|
125
|
+
{ nodes: [Cities.Portovelho, Cities.Vilhena], cost: 12 },
|
|
126
|
+
{ nodes: [Cities.Manaus, Cities.Vilhena], cost: 21 },
|
|
127
|
+
{ nodes: [Cities.Vilhena, Cities.Cuiaba], cost: 10 },
|
|
128
|
+
{ nodes: [Cities.Vilhena, Cities.Maraba], cost: 31 },
|
|
129
|
+
{ nodes: [Cities.Maraba, Cities.Imperatriz], cost: 4 },
|
|
130
|
+
{ nodes: [Cities.Sadluis, Cities.Teresina], cost: 8 },
|
|
131
|
+
{ nodes: [Cities.Teresina, Cities.Imperatriz], cost: 11 },
|
|
132
|
+
{ nodes: [Cities.Imperatriz, Cities.Palmas], cost: 9 },
|
|
133
|
+
{ nodes: [Cities.Palmas, Cities.Maraba], cost: 10 },
|
|
134
|
+
{ nodes: [Cities.Maraba, Cities.Porangatu], cost: 17 },
|
|
135
|
+
{ nodes: [Cities.Porangatu, Cities.Goiania], cost: 8 },
|
|
136
|
+
{ nodes: [Cities.Porangatu, Cities.Vilhena], cost: 23 },
|
|
137
|
+
{ nodes: [Cities.Cuiaba, Cities.Porangatu], cost: 16 },
|
|
138
|
+
{ nodes: [Cities.Porangatu, Cities.Palmas], cost: 8 },
|
|
139
|
+
{ nodes: [Cities.Palmas, Cities.Brasilia], cost: 13 },
|
|
140
|
+
{ nodes: [Cities.Brasilia, Cities.Porangatu], cost: 6 },
|
|
141
|
+
{ nodes: [Cities.Brasilia, Cities.Goiania], cost: 4 },
|
|
142
|
+
{ nodes: [Cities.Goiania, Cities.Cuiaba], cost: 15 },
|
|
143
|
+
{ nodes: [Cities.Sadluis, Cities.Parnaiba], cost: 5 },
|
|
144
|
+
{ nodes: [Cities.Parnaiba, Cities.Teresina], cost: 5 },
|
|
145
|
+
{ nodes: [Cities.Parnaiba, Cities.Fortaleza], cost: 7 },
|
|
146
|
+
{ nodes: [Cities.Fortaleza, Cities.Natal], cost: 8 },
|
|
147
|
+
{ nodes: [Cities.Natal, Cities.Joaopessoa], cost: 3 },
|
|
148
|
+
{ nodes: [Cities.Joaopessoa, Cities.Recife], cost: 2 },
|
|
149
|
+
{ nodes: [Cities.Recife, Cities.Maceio], cost: 3 },
|
|
150
|
+
{ nodes: [Cities.Maceio, Cities.Aracaju], cost: 3 },
|
|
151
|
+
{ nodes: [Cities.Aracaju, Cities.Salvadordabahia], cost: 4 },
|
|
152
|
+
{ nodes: [Cities.Natal, Cities.Campinagrande], cost: 4 },
|
|
153
|
+
{ nodes: [Cities.Fortaleza, Cities.Teresina], cost: 10 },
|
|
154
|
+
{ nodes: [Cities.Teresina, Cities.Petrolina], cost: 12 },
|
|
155
|
+
{ nodes: [Cities.Petrolina, Cities.Palmas], cost: 19 },
|
|
156
|
+
{ nodes: [Cities.Petrolina, Cities.Brasilia], cost: 22 },
|
|
157
|
+
{ nodes: [Cities.Petrolina, Cities.Montesclaros], cost: 19 },
|
|
158
|
+
{ nodes: [Cities.Montesclaros, Cities.Salvadordabahia], cost: 16 },
|
|
159
|
+
{ nodes: [Cities.Salvadordabahia, Cities.Petrolina], cost: 10 },
|
|
160
|
+
{ nodes: [Cities.Petrolina, Cities.Campinagrande], cost: 12 },
|
|
161
|
+
{ nodes: [Cities.Petrolina, Cities.Aracaju], cost: 11 },
|
|
162
|
+
{ nodes: [Cities.Vitoria, Cities.Salvadordabahia], cost: 16 },
|
|
163
|
+
{ nodes: [Cities.Montesclaros, Cities.Vitoria], cost: 14 },
|
|
164
|
+
{ nodes: [Cities.Vitoria, Cities.Saogoncalo], cost: 6 },
|
|
165
|
+
{ nodes: [Cities.Vitoria, Cities.Belohorizonte], cost: 9 },
|
|
166
|
+
{ nodes: [Cities.Belohorizonte, Cities.Montesclaros], cost: 8 },
|
|
167
|
+
{ nodes: [Cities.Montesclaros, Cities.Brasilia], cost: 9 },
|
|
168
|
+
{ nodes: [Cities.Brasilia, Cities.Uberlandia], cost: 8 },
|
|
169
|
+
{ nodes: [Cities.Uberlandia, Cities.Goiania], cost: 7 },
|
|
170
|
+
{ nodes: [Cities.Goiania, Cities.Campogrande], cost: 16 },
|
|
171
|
+
{ nodes: [Cities.Campogrande, Cities.Cuiaba], cost: 13 },
|
|
172
|
+
{ nodes: [Cities.Campogrande, Cities.Londrina], cost: 10 },
|
|
173
|
+
{ nodes: [Cities.Campogrande, Cities.Uberlandia], cost: 13 },
|
|
174
|
+
{ nodes: [Cities.Uberlandia, Cities.Londrina], cost: 12 },
|
|
175
|
+
{ nodes: [Cities.Londrina, Cities.Campinas], cost: 9 },
|
|
176
|
+
{ nodes: [Cities.Campinas, Cities.Uberlandia], cost: 9 },
|
|
177
|
+
{ nodes: [Cities.Uberlandia, Cities.Belohorizonte], cost: 10 },
|
|
178
|
+
{ nodes: [Cities.Uberlandia, Cities.Brasilia], cost: 8 },
|
|
179
|
+
{ nodes: [Cities.Brasilia, Cities.Belohorizonte], cost: 14 },
|
|
180
|
+
{ nodes: [Cities.Belohorizonte, Cities.Saogoncalo], cost: 7 },
|
|
181
|
+
{ nodes: [Cities.Saogoncalo, Cities.Riodejaneiro], cost: 0 },
|
|
182
|
+
{ nodes: [Cities.Riodejaneiro, Cities.Saopaulo], cost: 7 },
|
|
183
|
+
{ nodes: [Cities.Saopaulo, Cities.Guarulhos], cost: 0 },
|
|
184
|
+
{ nodes: [Cities.Guarulhos, Cities.Campinas], cost: 0 },
|
|
185
|
+
{ nodes: [Cities.Campinas, Cities.Curitiba], cost: 6 },
|
|
186
|
+
{ nodes: [Cities.Curitiba, Cities.Londrina], cost: 7 },
|
|
187
|
+
{ nodes: [Cities.Saopaulo, Cities.Florianopolis], cost: 9 },
|
|
188
|
+
{ nodes: [Cities.Florianopolis, Cities.Curitiba], cost: 4 },
|
|
189
|
+
{ nodes: [Cities.Londrina, Cities.Urucuaiana], cost: 18 },
|
|
190
|
+
{ nodes: [Cities.Urucuaiana, Cities.Pelotas], cost: 9 },
|
|
191
|
+
{ nodes: [Cities.Pelotas, Cities.Portoalecre], cost: 4 },
|
|
192
|
+
{ nodes: [Cities.Portoalecre, Cities.Urucuaiana], cost: 10 },
|
|
193
|
+
{ nodes: [Cities.Londrina, Cities.Portoalecre], cost: 16 },
|
|
194
|
+
{ nodes: [Cities.Portoalecre, Cities.Curitiba], cost: 11 },
|
|
195
|
+
{ nodes: [Cities.Portoalecre, Cities.Florianopolis], cost: 7 },
|
|
196
|
+
{ nodes: [Cities.Guarulhos, Cities.Belohorizonte], cost: 10 },
|
|
197
|
+
{ nodes: [Cities.Maceio, Cities.Campinagrande], cost: 6 },
|
|
198
|
+
{ nodes: [Cities.Petrolina, Cities.Fortaleza], cost: 14 },
|
|
199
|
+
{ nodes: [Cities.Recife, Cities.Campinagrande], cost: 3 },
|
|
200
|
+
],
|
|
201
|
+
layout: 'Portrait',
|
|
202
|
+
adjustRatio: [0.85, 0.85],
|
|
203
|
+
mapPosition: [-20, -130],
|
|
204
|
+
resupply: [
|
|
205
|
+
[
|
|
206
|
+
[1, 2, 3],
|
|
207
|
+
[1, 2, 3],
|
|
208
|
+
[2, 3, 4],
|
|
209
|
+
[3, 3, 5],
|
|
210
|
+
[3, 5, 6],
|
|
211
|
+
],
|
|
212
|
+
[
|
|
213
|
+
[3, 4, 3],
|
|
214
|
+
[4, 5, 3],
|
|
215
|
+
[5, 6, 4],
|
|
216
|
+
[5, 7, 5],
|
|
217
|
+
[7, 9, 6],
|
|
218
|
+
],
|
|
219
|
+
[
|
|
220
|
+
[2, 2, 4],
|
|
221
|
+
[2, 3, 4],
|
|
222
|
+
[3, 4, 5],
|
|
223
|
+
[4, 5, 6],
|
|
224
|
+
[5, 6, 7],
|
|
225
|
+
],
|
|
226
|
+
[
|
|
227
|
+
[1, 1, 1],
|
|
228
|
+
[1, 1, 1],
|
|
229
|
+
[1, 2, 2],
|
|
230
|
+
[2, 3, 2],
|
|
231
|
+
[2, 3, 3],
|
|
232
|
+
],
|
|
233
|
+
],
|
|
234
|
+
startingResources: [24, 18, 6, 2],
|
|
235
|
+
setupDeck(numPlayers, variant, rng) {
|
|
236
|
+
let powerPlantsDeck = lodash_1.cloneDeep(powerPlants_1.powerPlants);
|
|
237
|
+
let actualMarket;
|
|
238
|
+
let futureMarket;
|
|
239
|
+
// remove garbage power plants
|
|
240
|
+
const garbagePlants = powerPlantsDeck.filter((pp) => pp.type == gamestate_1.PowerPlantType.Garbage && pp.number > 14);
|
|
241
|
+
if (variant == 'original') {
|
|
242
|
+
powerPlantsDeck = powerPlantsDeck.slice(8);
|
|
243
|
+
const powerPlant13 = powerPlantsDeck.splice(2, 1)[0];
|
|
244
|
+
const powerPlant14 = powerPlantsDeck.splice(2, 1)[0];
|
|
245
|
+
const step3 = powerPlantsDeck.pop();
|
|
246
|
+
powerPlantsDeck = utils_1.shuffle(powerPlantsDeck.filter((pp) => pp.type != gamestate_1.PowerPlantType.Garbage), rng() + '');
|
|
247
|
+
if (numPlayers == 2 || numPlayers == 3) {
|
|
248
|
+
powerPlantsDeck = powerPlantsDeck.slice(8);
|
|
249
|
+
}
|
|
250
|
+
else if (numPlayers == 4) {
|
|
251
|
+
powerPlantsDeck = powerPlantsDeck.slice(4);
|
|
252
|
+
}
|
|
253
|
+
powerPlantsDeck = powerPlantsDeck.concat(garbagePlants);
|
|
254
|
+
powerPlantsDeck = utils_1.shuffle(powerPlantsDeck, rng() + '');
|
|
255
|
+
powerPlantsDeck.unshift(powerPlant14);
|
|
256
|
+
powerPlantsDeck.unshift(powerPlant13);
|
|
257
|
+
powerPlantsDeck.push(step3);
|
|
258
|
+
actualMarket = [engine_1.getPowerPlant(3), engine_1.getPowerPlant(4), engine_1.getPowerPlant(5), engine_1.getPowerPlant(6)];
|
|
259
|
+
futureMarket = [engine_1.getPowerPlant(7), engine_1.getPowerPlant(8), engine_1.getPowerPlant(9), engine_1.getPowerPlant(10)];
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
const powerPlant6 = powerPlantsDeck.splice(3, 1)[0];
|
|
263
|
+
const powerPlant14 = powerPlantsDeck.splice(10, 1)[0];
|
|
264
|
+
let initialPowerPlants = utils_1.shuffle(powerPlantsDeck.splice(0, 11), rng() + '');
|
|
265
|
+
let initialPlantMarket = initialPowerPlants.splice(0, 6);
|
|
266
|
+
initialPlantMarket.push(powerPlant6, powerPlant14);
|
|
267
|
+
initialPlantMarket = initialPlantMarket.sort((a, b) => a.number - b.number);
|
|
268
|
+
actualMarket = initialPlantMarket.slice(0, 4);
|
|
269
|
+
futureMarket = initialPlantMarket.slice(4);
|
|
270
|
+
const first = initialPowerPlants.shift();
|
|
271
|
+
const step3 = powerPlantsDeck.pop();
|
|
272
|
+
powerPlantsDeck = utils_1.shuffle(powerPlantsDeck.filter((pp) => pp.type != gamestate_1.PowerPlantType.Garbage), rng() + '');
|
|
273
|
+
if (numPlayers == 2 || numPlayers == 3) {
|
|
274
|
+
initialPowerPlants = initialPowerPlants.slice(2);
|
|
275
|
+
powerPlantsDeck = utils_1.shuffle(powerPlantsDeck.slice(6).concat(initialPowerPlants), rng() + '');
|
|
276
|
+
}
|
|
277
|
+
else if (numPlayers == 4) {
|
|
278
|
+
initialPowerPlants = initialPowerPlants.slice(1);
|
|
279
|
+
powerPlantsDeck = utils_1.shuffle(powerPlantsDeck.slice(3).concat(initialPowerPlants), rng() + '');
|
|
280
|
+
}
|
|
281
|
+
else {
|
|
282
|
+
powerPlantsDeck = utils_1.shuffle(powerPlantsDeck.concat(initialPowerPlants), rng() + '');
|
|
283
|
+
}
|
|
284
|
+
powerPlantsDeck = powerPlantsDeck.concat(garbagePlants);
|
|
285
|
+
powerPlantsDeck = utils_1.shuffle(powerPlantsDeck, rng() + '');
|
|
286
|
+
powerPlantsDeck.unshift(first);
|
|
287
|
+
powerPlantsDeck.push(step3);
|
|
288
|
+
}
|
|
289
|
+
return { actualMarket, futureMarket, powerPlantsDeck };
|
|
290
|
+
},
|
|
291
|
+
mapSpecificRules: 'Play with all garbage power plants.',
|
|
292
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { GameMap } from './../maps';
|
|
2
|
+
export declare enum Regions {
|
|
3
|
+
Blue = "blue",
|
|
4
|
+
Brown = "brown",
|
|
5
|
+
Purple = "purple",
|
|
6
|
+
Red = "red",
|
|
7
|
+
Yellow = "yellow",
|
|
8
|
+
Green = "green"
|
|
9
|
+
}
|
|
10
|
+
export declare enum Cities {
|
|
11
|
+
Bialystok = "Bialystok",
|
|
12
|
+
Lublin = "Lublin",
|
|
13
|
+
Warszawa = "Warszawa",
|
|
14
|
+
Krakow = "Krakow",
|
|
15
|
+
Sosnowiec = "Sosnowiec",
|
|
16
|
+
Katowice = "Katowice",
|
|
17
|
+
Czestochowa = "Czesto Chowa",
|
|
18
|
+
Presov = "Presov",
|
|
19
|
+
Kosice = "Kosice",
|
|
20
|
+
Poprad = "Poprad",
|
|
21
|
+
Zilina = "Zilina",
|
|
22
|
+
Bratislava = "Bratislava",
|
|
23
|
+
Trnava = "Trnava",
|
|
24
|
+
Nyiregyhaza = "Nyiregyhaza",
|
|
25
|
+
Miskolc = "Miskolc",
|
|
26
|
+
Szeged = "Szeged",
|
|
27
|
+
Kecskeme = "Kecskeme",
|
|
28
|
+
Budapest = "Budapest",
|
|
29
|
+
Pecs = "Pecs",
|
|
30
|
+
Gyor = "Gyor",
|
|
31
|
+
Banskabystrica = "Banska Bystrica",
|
|
32
|
+
Goansk = "Goansk",
|
|
33
|
+
Goynia = "Goynia",
|
|
34
|
+
Byogoszcz = "Byogoszcz",
|
|
35
|
+
Wroclaw = "Wroclaw",
|
|
36
|
+
Poznan = "Poznan",
|
|
37
|
+
Szczecin = "Szczecin",
|
|
38
|
+
Lodz = "Lodz",
|
|
39
|
+
Graz = "Graz",
|
|
40
|
+
Klagenfurt = "Klagenfurt",
|
|
41
|
+
Villach = "Villach",
|
|
42
|
+
Innsbruck = "Innsbruck",
|
|
43
|
+
Salzburg = "Salzburg",
|
|
44
|
+
Linz = "Linz",
|
|
45
|
+
Wien = "Wien",
|
|
46
|
+
Hradeckralove = "Hradec Kralove",
|
|
47
|
+
Brno = "Brno",
|
|
48
|
+
Ceskebudejovice = "Ceske Budejovice",
|
|
49
|
+
Praha = "Praha",
|
|
50
|
+
Ostrava = "Ostrava",
|
|
51
|
+
Plzen = "Plzen",
|
|
52
|
+
Ustinadlaben = "Ustinad Laben"
|
|
53
|
+
}
|
|
54
|
+
export declare const map: GameMap;
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.map = exports.Cities = exports.Regions = void 0;
|
|
4
|
+
var Regions;
|
|
5
|
+
(function (Regions) {
|
|
6
|
+
Regions["Blue"] = "blue";
|
|
7
|
+
Regions["Brown"] = "brown";
|
|
8
|
+
Regions["Purple"] = "purple";
|
|
9
|
+
Regions["Red"] = "red";
|
|
10
|
+
Regions["Yellow"] = "yellow";
|
|
11
|
+
Regions["Green"] = "green";
|
|
12
|
+
})(Regions = exports.Regions || (exports.Regions = {}));
|
|
13
|
+
var Cities;
|
|
14
|
+
(function (Cities) {
|
|
15
|
+
Cities["Bialystok"] = "Bialystok";
|
|
16
|
+
Cities["Lublin"] = "Lublin";
|
|
17
|
+
Cities["Warszawa"] = "Warszawa";
|
|
18
|
+
Cities["Krakow"] = "Krakow";
|
|
19
|
+
Cities["Sosnowiec"] = "Sosnowiec";
|
|
20
|
+
Cities["Katowice"] = "Katowice";
|
|
21
|
+
Cities["Czestochowa"] = "Czesto Chowa";
|
|
22
|
+
Cities["Presov"] = "Presov";
|
|
23
|
+
Cities["Kosice"] = "Kosice";
|
|
24
|
+
Cities["Poprad"] = "Poprad";
|
|
25
|
+
Cities["Zilina"] = "Zilina";
|
|
26
|
+
Cities["Bratislava"] = "Bratislava";
|
|
27
|
+
Cities["Trnava"] = "Trnava";
|
|
28
|
+
Cities["Nyiregyhaza"] = "Nyiregyhaza";
|
|
29
|
+
Cities["Miskolc"] = "Miskolc";
|
|
30
|
+
Cities["Szeged"] = "Szeged";
|
|
31
|
+
Cities["Kecskeme"] = "Kecskeme";
|
|
32
|
+
Cities["Budapest"] = "Budapest";
|
|
33
|
+
Cities["Pecs"] = "Pecs";
|
|
34
|
+
Cities["Gyor"] = "Gyor";
|
|
35
|
+
Cities["Banskabystrica"] = "Banska Bystrica";
|
|
36
|
+
Cities["Goansk"] = "Goansk";
|
|
37
|
+
Cities["Goynia"] = "Goynia";
|
|
38
|
+
Cities["Byogoszcz"] = "Byogoszcz";
|
|
39
|
+
Cities["Wroclaw"] = "Wroclaw";
|
|
40
|
+
Cities["Poznan"] = "Poznan";
|
|
41
|
+
Cities["Szczecin"] = "Szczecin";
|
|
42
|
+
Cities["Lodz"] = "Lodz";
|
|
43
|
+
Cities["Graz"] = "Graz";
|
|
44
|
+
Cities["Klagenfurt"] = "Klagenfurt";
|
|
45
|
+
Cities["Villach"] = "Villach";
|
|
46
|
+
Cities["Innsbruck"] = "Innsbruck";
|
|
47
|
+
Cities["Salzburg"] = "Salzburg";
|
|
48
|
+
Cities["Linz"] = "Linz";
|
|
49
|
+
Cities["Wien"] = "Wien";
|
|
50
|
+
Cities["Hradeckralove"] = "Hradec Kralove";
|
|
51
|
+
Cities["Brno"] = "Brno";
|
|
52
|
+
Cities["Ceskebudejovice"] = "Ceske Budejovice";
|
|
53
|
+
Cities["Praha"] = "Praha";
|
|
54
|
+
Cities["Ostrava"] = "Ostrava";
|
|
55
|
+
Cities["Plzen"] = "Plzen";
|
|
56
|
+
Cities["Ustinadlaben"] = "Ustinad Laben";
|
|
57
|
+
})(Cities = exports.Cities || (exports.Cities = {}));
|
|
58
|
+
exports.map = {
|
|
59
|
+
name: 'Central Europe',
|
|
60
|
+
cities: [
|
|
61
|
+
{ name: Cities.Bialystok, region: Regions.Blue, x: 543, y: 135 },
|
|
62
|
+
{ name: Cities.Lublin, region: Regions.Blue, x: 590, y: 294 },
|
|
63
|
+
{ name: Cities.Warszawa, region: Regions.Blue, x: 482, y: 253 },
|
|
64
|
+
{ name: Cities.Krakow, region: Regions.Blue, x: 533, y: 443 },
|
|
65
|
+
{ name: Cities.Sosnowiec, region: Regions.Blue, x: 468, y: 443 },
|
|
66
|
+
{ name: Cities.Katowice, region: Regions.Blue, x: 446, y: 483 },
|
|
67
|
+
{ name: Cities.Czestochowa, region: Regions.Blue, x: 419, y: 397 },
|
|
68
|
+
{ name: Cities.Presov, region: Regions.Brown, x: 619, y: 487 },
|
|
69
|
+
{ name: Cities.Kosice, region: Regions.Brown, x: 646, y: 538 },
|
|
70
|
+
{ name: Cities.Poprad, region: Regions.Brown, x: 565, y: 529 },
|
|
71
|
+
{ name: Cities.Zilina, region: Regions.Brown, x: 476, y: 551 },
|
|
72
|
+
{ name: Cities.Bratislava, region: Regions.Brown, x: 423, y: 693 },
|
|
73
|
+
{ name: Cities.Trnava, region: Regions.Brown, x: 452, y: 638 },
|
|
74
|
+
{ name: Cities.Nyiregyhaza, region: Regions.Purple, x: 698, y: 582 },
|
|
75
|
+
{ name: Cities.Miskolc, region: Regions.Purple, x: 621, y: 597 },
|
|
76
|
+
{ name: Cities.Szeged, region: Regions.Purple, x: 680, y: 764 },
|
|
77
|
+
{ name: Cities.Kecskeme, region: Regions.Purple, x: 630, y: 727 },
|
|
78
|
+
{ name: Cities.Budapest, region: Regions.Purple, x: 557, y: 689 },
|
|
79
|
+
{ name: Cities.Pecs, region: Regions.Purple, x: 566, y: 832 },
|
|
80
|
+
{ name: Cities.Gyor, region: Regions.Purple, x: 489, y: 729 },
|
|
81
|
+
{ name: Cities.Banskabystrica, region: Regions.Brown, x: 525, y: 601 },
|
|
82
|
+
{ name: Cities.Goansk, region: Regions.Red, x: 286, y: 158 },
|
|
83
|
+
{ name: Cities.Goynia, region: Regions.Red, x: 249, y: 131 },
|
|
84
|
+
{ name: Cities.Byogoszcz, region: Regions.Red, x: 297, y: 257 },
|
|
85
|
+
{ name: Cities.Wroclaw, region: Regions.Red, x: 321, y: 445 },
|
|
86
|
+
{ name: Cities.Poznan, region: Regions.Red, x: 261, y: 342 },
|
|
87
|
+
{ name: Cities.Szczecin, region: Regions.Red, x: 110, y: 316 },
|
|
88
|
+
{ name: Cities.Lodz, region: Regions.Red, x: 420, y: 337 },
|
|
89
|
+
{ name: Cities.Graz, region: Regions.Yellow, x: 376, y: 811 },
|
|
90
|
+
{ name: Cities.Klagenfurt, region: Regions.Yellow, x: 340, y: 875 },
|
|
91
|
+
{ name: Cities.Villach, region: Regions.Yellow, x: 272, y: 875 },
|
|
92
|
+
{ name: Cities.Innsbruck, region: Regions.Yellow, x: 140, y: 879 },
|
|
93
|
+
{ name: Cities.Salzburg, region: Regions.Yellow, x: 209, y: 805 },
|
|
94
|
+
{ name: Cities.Linz, region: Regions.Yellow, x: 265, y: 744 },
|
|
95
|
+
{ name: Cities.Wien, region: Regions.Yellow, x: 366, y: 701 },
|
|
96
|
+
{ name: Cities.Hradeckralove, region: Regions.Green, x: 291, y: 546 },
|
|
97
|
+
{ name: Cities.Brno, region: Regions.Green, x: 354, y: 597 },
|
|
98
|
+
{ name: Cities.Ceskebudejovice, region: Regions.Green, x: 248, y: 670 },
|
|
99
|
+
{ name: Cities.Praha, region: Regions.Green, x: 220, y: 593 },
|
|
100
|
+
{ name: Cities.Ostrava, region: Regions.Green, x: 413, y: 535 },
|
|
101
|
+
{ name: Cities.Plzen, region: Regions.Green, x: 158, y: 645 },
|
|
102
|
+
{ name: Cities.Ustinadlaben, region: Regions.Green, x: 165, y: 537 },
|
|
103
|
+
],
|
|
104
|
+
connections: [
|
|
105
|
+
{ nodes: [Cities.Goynia, Cities.Goansk], cost: 0 },
|
|
106
|
+
{ nodes: [Cities.Goansk, Cities.Byogoszcz], cost: 8 },
|
|
107
|
+
{ nodes: [Cities.Goynia, Cities.Szczecin], cost: 17 },
|
|
108
|
+
{ nodes: [Cities.Szczecin, Cities.Poznan], cost: 14 },
|
|
109
|
+
{ nodes: [Cities.Szczecin, Cities.Wroclaw], cost: 22 },
|
|
110
|
+
{ nodes: [Cities.Wroclaw, Cities.Poznan], cost: 9 },
|
|
111
|
+
{ nodes: [Cities.Poznan, Cities.Lodz], cost: 13 },
|
|
112
|
+
{ nodes: [Cities.Lodz, Cities.Byogoszcz], cost: 12 },
|
|
113
|
+
{ nodes: [Cities.Byogoszcz, Cities.Szczecin], cost: 15 },
|
|
114
|
+
{ nodes: [Cities.Wroclaw, Cities.Lodz], cost: 12 },
|
|
115
|
+
{ nodes: [Cities.Lodz, Cities.Czestochowa], cost: 7 },
|
|
116
|
+
{ nodes: [Cities.Czestochowa, Cities.Wroclaw], cost: 9 },
|
|
117
|
+
{ nodes: [Cities.Wroclaw, Cities.Ostrava], cost: 11 },
|
|
118
|
+
{ nodes: [Cities.Ostrava, Cities.Hradeckralove], cost: 16 },
|
|
119
|
+
{ nodes: [Cities.Hradeckralove, Cities.Wroclaw], cost: 10 },
|
|
120
|
+
{ nodes: [Cities.Wroclaw, Cities.Ustinadlaben], cost: 17 },
|
|
121
|
+
{ nodes: [Cities.Ustinadlaben, Cities.Hradeckralove], cost: 10 },
|
|
122
|
+
{ nodes: [Cities.Hradeckralove, Cities.Brno], cost: 9 },
|
|
123
|
+
{ nodes: [Cities.Brno, Cities.Ostrava], cost: 12 },
|
|
124
|
+
{ nodes: [Cities.Ostrava, Cities.Katowice], cost: 4 },
|
|
125
|
+
{ nodes: [Cities.Czestochowa, Cities.Lublin], cost: 17 },
|
|
126
|
+
{ nodes: [Cities.Lublin, Cities.Presov], cost: 20 },
|
|
127
|
+
{ nodes: [Cities.Presov, Cities.Krakow], cost: 13 },
|
|
128
|
+
{ nodes: [Cities.Krakow, Cities.Poprad], cost: 11 },
|
|
129
|
+
{ nodes: [Cities.Poprad, Cities.Zilina], cost: 11 },
|
|
130
|
+
{ nodes: [Cities.Zilina, Cities.Krakow], cost: 12 },
|
|
131
|
+
{ nodes: [Cities.Krakow, Cities.Sosnowiec], cost: 4 },
|
|
132
|
+
{ nodes: [Cities.Warszawa, Cities.Bialystok], cost: 14 },
|
|
133
|
+
{ nodes: [Cities.Bialystok, Cities.Goansk], cost: 20 },
|
|
134
|
+
{ nodes: [Cities.Byogoszcz, Cities.Warszawa], cost: 15 },
|
|
135
|
+
{ nodes: [Cities.Warszawa, Cities.Lublin], cost: 10 },
|
|
136
|
+
{ nodes: [Cities.Lodz, Cities.Warszawa], cost: 7 },
|
|
137
|
+
{ nodes: [Cities.Bialystok, Cities.Lublin], cost: 15 },
|
|
138
|
+
{ nodes: [Cities.Lublin, Cities.Krakow], cost: 16 },
|
|
139
|
+
{ nodes: [Cities.Poprad, Cities.Kosice], cost: 6 },
|
|
140
|
+
{ nodes: [Cities.Kosice, Cities.Nyiregyhaza], cost: 8 },
|
|
141
|
+
{ nodes: [Cities.Kosice, Cities.Miskolc], cost: 4 },
|
|
142
|
+
{ nodes: [Cities.Miskolc, Cities.Poprad], cost: 9 },
|
|
143
|
+
{ nodes: [Cities.Poprad, Cities.Banskabystrica], cost: 11 },
|
|
144
|
+
{ nodes: [Cities.Banskabystrica, Cities.Zilina], cost: 6 },
|
|
145
|
+
{ nodes: [Cities.Zilina, Cities.Trnava], cost: 10 },
|
|
146
|
+
{ nodes: [Cities.Zilina, Cities.Brno], cost: 14 },
|
|
147
|
+
{ nodes: [Cities.Brno, Cities.Wien], cost: 8 },
|
|
148
|
+
{ nodes: [Cities.Bratislava, Cities.Brno], cost: 10 },
|
|
149
|
+
{ nodes: [Cities.Brno, Cities.Trnava], cost: 10 },
|
|
150
|
+
{ nodes: [Cities.Trnava, Cities.Banskabystrica], cost: 10 },
|
|
151
|
+
{ nodes: [Cities.Banskabystrica, Cities.Miskolc], cost: 11 },
|
|
152
|
+
{ nodes: [Cities.Miskolc, Cities.Nyiregyhaza], cost: 7 },
|
|
153
|
+
{ nodes: [Cities.Nyiregyhaza, Cities.Szeged], cost: 16 },
|
|
154
|
+
{ nodes: [Cities.Szeged, Cities.Kecskeme], cost: 5 },
|
|
155
|
+
{ nodes: [Cities.Budapest, Cities.Trnava], cost: 9 },
|
|
156
|
+
{ nodes: [Cities.Trnava, Cities.Bratislava], cost: 2 },
|
|
157
|
+
{ nodes: [Cities.Bratislava, Cities.Wien], cost: 3 },
|
|
158
|
+
{ nodes: [Cities.Wien, Cities.Ceskebudejovice], cost: 14 },
|
|
159
|
+
{ nodes: [Cities.Ceskebudejovice, Cities.Praha], cost: 10 },
|
|
160
|
+
{ nodes: [Cities.Praha, Cities.Brno], cost: 13 },
|
|
161
|
+
{ nodes: [Cities.Brno, Cities.Ceskebudejovice], cost: 15 },
|
|
162
|
+
{ nodes: [Cities.Ceskebudejovice, Cities.Plzen], cost: 11 },
|
|
163
|
+
{ nodes: [Cities.Plzen, Cities.Praha], cost: 7 },
|
|
164
|
+
{ nodes: [Cities.Praha, Cities.Ustinadlaben], cost: 6 },
|
|
165
|
+
{ nodes: [Cities.Ustinadlaben, Cities.Plzen], cost: 9 },
|
|
166
|
+
{ nodes: [Cities.Ceskebudejovice, Cities.Linz], cost: 8 },
|
|
167
|
+
{ nodes: [Cities.Linz, Cities.Wien], cost: 11 },
|
|
168
|
+
{ nodes: [Cities.Wien, Cities.Graz], cost: 12 },
|
|
169
|
+
{ nodes: [Cities.Graz, Cities.Linz], cost: 16 },
|
|
170
|
+
{ nodes: [Cities.Linz, Cities.Salzburg], cost: 9 },
|
|
171
|
+
{ nodes: [Cities.Salzburg, Cities.Graz], cost: 22 },
|
|
172
|
+
{ nodes: [Cities.Graz, Cities.Gyor], cost: 14 },
|
|
173
|
+
{ nodes: [Cities.Gyor, Cities.Wien], cost: 8 },
|
|
174
|
+
{ nodes: [Cities.Bratislava, Cities.Gyor], cost: 6 },
|
|
175
|
+
{ nodes: [Cities.Gyor, Cities.Trnava], cost: 5 },
|
|
176
|
+
{ nodes: [Cities.Banskabystrica, Cities.Budapest], cost: 12 },
|
|
177
|
+
{ nodes: [Cities.Budapest, Cities.Gyor], cost: 5 },
|
|
178
|
+
{ nodes: [Cities.Budapest, Cities.Kecskeme], cost: 6 },
|
|
179
|
+
{ nodes: [Cities.Kecskeme, Cities.Miskolc], cost: 10 },
|
|
180
|
+
{ nodes: [Cities.Miskolc, Cities.Budapest], cost: 9 },
|
|
181
|
+
{ nodes: [Cities.Szeged, Cities.Pecs], cost: 12 },
|
|
182
|
+
{ nodes: [Cities.Pecs, Cities.Kecskeme], cost: 11 },
|
|
183
|
+
{ nodes: [Cities.Budapest, Cities.Pecs], cost: 12 },
|
|
184
|
+
{ nodes: [Cities.Pecs, Cities.Gyor], cost: 15 },
|
|
185
|
+
{ nodes: [Cities.Graz, Cities.Pecs], cost: 19 },
|
|
186
|
+
{ nodes: [Cities.Graz, Cities.Klagenfurt], cost: 10 },
|
|
187
|
+
{ nodes: [Cities.Klagenfurt, Cities.Villach], cost: 4 },
|
|
188
|
+
{ nodes: [Cities.Klagenfurt, Cities.Salzburg], cost: 20 },
|
|
189
|
+
{ nodes: [Cities.Salzburg, Cities.Innsbruck], cost: 15 },
|
|
190
|
+
{ nodes: [Cities.Innsbruck, Cities.Villach], cost: 22 },
|
|
191
|
+
{ nodes: [Cities.Poznan, Cities.Byogoszcz], cost: 7 },
|
|
192
|
+
{ nodes: [Cities.Lublin, Cities.Lodz], cost: 16 },
|
|
193
|
+
{ nodes: [Cities.Czestochowa, Cities.Sosnowiec], cost: 4 },
|
|
194
|
+
{ nodes: [Cities.Sosnowiec, Cities.Katowice], cost: 0 },
|
|
195
|
+
{ nodes: [Cities.Czestochowa, Cities.Krakow], cost: 6 },
|
|
196
|
+
{ nodes: [Cities.Poprad, Cities.Presov], cost: 7 },
|
|
197
|
+
{ nodes: [Cities.Presov, Cities.Kosice], cost: 2 },
|
|
198
|
+
{ nodes: [Cities.Ostrava, Cities.Zilina], cost: 7 },
|
|
199
|
+
{ nodes: [Cities.Ostrava, Cities.Krakow], cost: 7 },
|
|
200
|
+
{ nodes: [Cities.Praha, Cities.Hradeckralove], cost: 8 },
|
|
201
|
+
],
|
|
202
|
+
layout: 'Portrait',
|
|
203
|
+
mapPosition: [70, -60],
|
|
204
|
+
adjustRatio: [1.15, 1.15],
|
|
205
|
+
startingResources: [24, 18, 6, 5],
|
|
206
|
+
resupply: [
|
|
207
|
+
[
|
|
208
|
+
[4, 5, 3],
|
|
209
|
+
[5, 6, 3],
|
|
210
|
+
[6, 7, 5],
|
|
211
|
+
[7, 8, 5],
|
|
212
|
+
[8, 10, 6],
|
|
213
|
+
],
|
|
214
|
+
[
|
|
215
|
+
[1, 2, 3],
|
|
216
|
+
[2, 2, 3],
|
|
217
|
+
[2, 3, 4],
|
|
218
|
+
[3, 4, 5],
|
|
219
|
+
[4, 5, 6],
|
|
220
|
+
],
|
|
221
|
+
[
|
|
222
|
+
[1, 3, 3],
|
|
223
|
+
[1, 3, 3],
|
|
224
|
+
[2, 4, 4],
|
|
225
|
+
[3, 4, 5],
|
|
226
|
+
[3, 6, 6],
|
|
227
|
+
],
|
|
228
|
+
[
|
|
229
|
+
[1, 1, 1],
|
|
230
|
+
[1, 1, 1],
|
|
231
|
+
[1, 2, 1],
|
|
232
|
+
[2, 2, 2],
|
|
233
|
+
[2, 3, 2],
|
|
234
|
+
],
|
|
235
|
+
],
|
|
236
|
+
};
|