mapgame

Hello, this is the Algorithm for Congress of Vienna

Like AltE, we will have explanations

Note: Unfortunately and miserably, I've just found out that this algorithm would not work to the slightest meaning of the term to people who are revolting to create independence. So that means we would need another algorithm. Revolting Algorithm is a purely new concept and have not been incorporated anywhere else (in fact, elsewhere people just decide the outcomes without having algorithm, because revolting forces don't have anything about trained menforce, economic and military points, technology/science/industry, population cannot be evaluated, bonus certainly can't be used, cannot evaluate knowledge, landscape and defending positions so the revolters will easily lose). We will try, yes.

Land vs Sea Battles

Land battles: Do all parameters

Sea battles: Only Casus Belli, Motive, Miscellaneous (Superiority, Bad memories, War-weariness Turn-by-Turn deduction, Unguarded Fronts), Menforce, Technology/Science/Industry/Total Population/Non-Military Help, Bonuses, Economical and Military Points count

In Sea battles, you skip: Knowledge, Landscape, Defending Positions (you can't fortify the high seas), Population.

Casus Belli

Goes by first country to declare war. Allies joining won't matter, because it is 0 for that. Obviously only for attackers, and only for first battle of the war.

Motives

Goes by the highest country motive in side.

e.g. If one side have 2, 3, 1, 3, 2, 4 then it's 4 for them.

Battlefield, Defensive positions

Knowledge

Goes by best knowledge of battlefield among countries of the side.

Landscape

Goes per side. And only for the highest applicable per side.

Important: If it is well-known to the attacker, each side have 1 (except for Desert, Forest, Hill, Mountain and Mountainous Island terrains, in that case the 1 gained over there doesn't count)

Defensive position

Only for defensive side

Mods will evaluate if your economy is good enough for these things. And if a Great Wall is short enough, bypassing it would take 1 turn. Then the Great Wall doesn't count.

Miscellaneous

Goes per side.

Population, Menforce and Bonuses

Population

Per side.

Important: Only applies to Defending side. Contiguous area may span more than one country. Finally islands that have no borders count towards the closest landmass that have border (like St Pierre and Miquelon counts towards Canada and not France), except for main island of an islandic country.

Eg. If Russia invades Alaska, then the Population count for the US only includes the state of Alaska. But if Canada helps the US defend, then the total count = Alaska + Canada + Contiguous 48 states

Menforce

For Land Battles

=(Army force + Knight force x 3 + Marine force x 2 + Guerrilla force x 0.5) x 0.001

For Sea Battles

=(Marine force + Navy force x 2 + Guerrilla force x 0.5) x 0.001

Technology, Science etc.

Bonuses

Economy and Military Points

Goes by highest points per side.

For how to calculate these points, look at the rules. For Economic Points:

  1. Crashing (0 ep) -5
  2. Falling (1 ep) -3
  3. Poor (2 ep) -1
  4. Average (3 ep) +'1'
  5. Good (4 ep) +3
  6. Great (5 ep) +5

For Military Points: 0 mp +0, 1 mp +1, 2 mp +2, and so on.

Finally, the results

  1. Find the expansion limit for the first country that declare war in the side. (use the rule)
  2. Add things up (the points over there)
  3. Which side have more points win
  4. Find winning coefficient (losing score/winning score)
Winning side Loser casualties Battle role
Defender 50% total losing army 0
Attacker 75% total losing army 1
Face to face 100% total losing army 0.5
  1. Winning side casualties = Losing side casualties * winning coefficient (winning side casualties cannot exceed 3/4 total winning army)
  2. Winning side takes = (expansion limit / winning coefficient) * battle role multiplier
  3. If it's attacker winning defender, the attacker cannot take more than the whole defender area