Here's the output from my player statistics class taken in the middle of a game. The numbers represent various statistically important bits of information that I will use to determine my bots overall standing within the game (which will be used to drive certain strategies).
Key:
mpi = Maximum Power Index, the largest power index of any player
a = total armies
ti = total income, comprised of the values, continent income, territory income, and card income (the value of the players cards at the next cash) divided by 3
bs = base score which is just the sum of armies and total income
pi = power index which is the log base 2 of the base score. This is useful in understanding in relative terms how much stronger one player is than another. If one player's pi is 1 and the other's is 2, then player 2 is twice as strong as player 1.
pi% = the percentage of the maximum pi for a player
Code: Select all
Total Player Stats
-----------------------------------------------------------------
mpi = 6.44
Hero : a(40) ti(23=20:3:0) bs(63) pi(5.98) pi%(92.77)
Bad Mutha : a(58) ti(29=13:5:11) bs(87) pi(6.44) pi%(100.00)
Tourette : a(25) ti(16=13:3:0) bs(41) pi(5.36) pi%(83.15)
VARoadstter : a(31) ti(31=26:3:2) bs(62) pi(5.95) pi%(92.41)
Pig Pen : a(34) ti(11=6:3:2) bs(45) pi(5.49) pi%(85.24)
Below is the output of my Country Score logic on the Classic map during the first turn (in later turns values go up as continent bonuses increase). In general, the higher the score, the more "desirable" my program will consider the country for ownership. It does not consider border countries for each country, only the borders of the continents so each country within a continent will have the same Country Score. There's a follow on class that I will get to soon concerning the scoring of clusters which will care about the borders of each country seperately. Anyway, here's the numbers at the start of the game:
Code: Select all
Total Country Score
Australia(Eastern Australia) = 0.500
Australia(New Guinea) = 0.500
Australia(Western Australia) = 0.500
Australia(Indonesia) = 0.500
South America(Argentina) = 0.250
South America(Brazil) = 0.250
South America(Peru) = 0.250
South America(Venezuela) = 0.250
Africa(South Africa) = 0.167
Africa(Congo) = 0.167
Africa(East Africa) = 0.167
Africa(Madagascar) = 0.167
Africa(North Africa) = 0.167
Africa(Egypt) = 0.167
North America(Central America) = 0.185
North America(Western United States) = 0.185
North America(Eastern United States) = 0.185
North America(Western Canada) = 0.185
North America(Ontario) = 0.185
North America(Quebec) = 0.185
North America(Alaska) = 0.185
North America(Northwest Territory) = 0.185
North America(Greenland - Nunavut) = 0.185
Europe(Iceland) = 0.179
Europe(Scandinavia) = 0.179
Europe(Great Britain) = 0.179
Europe(Western Europe) = 0.179
Europe(Northern Europe) = 0.179
Europe(Southern Europe) = 0.179
Europe(Ukraine) = 0.179
Asia(Middle East) = 0.117
Asia(India) = 0.117
Asia(Siam) = 0.117
Asia(Afghanistan) = 0.117
Asia(China) = 0.117
Asia(Ural) = 0.117
Asia(Siberia) = 0.117
Asia(Mongolia) = 0.117
Asia(Japan) = 0.117
Asia(Irkutsk) = 0.117
Asia(Kamchatka) = 0.117
Asia(Yakutsk) = 0.117
Code: Select all
Total Country Score
Australasia(Eastern Australia) = 0.600
Australasia(New Guinea) = 0.600
Australasia(Western Australia) = 0.600
Australasia(Indonesia) = 0.600
Australasia(Siam) = 0.600
South America(Argentina) = 0.500
South America(Brazil) = 0.500
South America(Peru) = 0.500
South America(Venezuela) = 0.500
Africa(South Africa) = 0.333
Africa(Congo) = 0.333
Africa(East Africa) = 0.333
Africa(Madagascar) = 0.333
Africa(North Africa) = 0.333
Africa(Egypt) = 0.333
Central America(Central America) = 1.000
USA(Western United States) = 0.444
USA(Eastern United States) = 0.444
USA(Alaska) = 0.444
Canada(Alberta) = 0.200
Canada(Ontario) = 0.200
Canada(Quebec) = 0.200
Canada(Northwest Territory) = 0.200
Canada(Newfoundland) = 0.200
Scandinavia(Greenland) = 0.333
Scandinavia(Iceland) = 0.333
Scandinavia(Scandinavia) = 0.333
Europe(Great Britain) = 0.240
Europe(Western Europe) = 0.240
Europe(Northern Europe) = 0.240
Europe(Southern Europe) = 0.240
Europe(Ukraine) = 0.240
Middle East(Middle East) = 0.750
Middle East(Afghanistan) = 0.750
India(India) = 1.000
Far East(China) = 0.556
Far East(Mongolia) = 0.556
Far East(Japan) = 0.556
Russia(Ural) = 0.350
Russia(Siberia) = 0.350
Russia(Irkutsk) = 0.350
Russia(Kamchatka) = 0.350
Russia(Yakutsk) = 0.350