1560 - 1569 Algorithms (Principia Moderni IV Map Game)

Delhi-Bengal War (1560-1563 )
Note to Mods- This is my first time making an algo. There may be mistakes. I dont know what part I have to write and what the mods have to decide. Thanks.Dev271 (talk) 10:24, January 2, 2017 (UTC)

The max of Bengal and its vassals is 300,000 (taking population to be 30 million(25 is of Bengal itself)) while the max of the Delhi Raj and its vassals is 750,000 (taking population to be 50 million and as non-feudal nations, approved by Scraw). So I take the army to be 700,000 during war time of which 100,000 is of the Rajput Confederacy. Now of this 450,000 are on the Bengal and Ahom border. The rest 250,000 are on the borders with other nations. The Bengal-Ahom border is divided into three fronts (Southern Bengal, Northern Bengal and Ahom fronts). 100,000 are on the Northern Bengal front which will have most Bengali troops because Gaur lies on this front. 100,000 are on the Ahom front and 250,000 are on the southern Bengal front. The army on the Ahom front consists of 50,000 Gorkha and Dogri mercenaries (1-3, the best mercenaries I guess). Marlborough is inactive so this is what I think-

Of the 300,000 troops, they can’t have all of them on the border with Delhi. Max they can have here is 250,000 men. Now if they have 250,000 men, 100,000-150,000 will be on the Northern Bengal front, 50,000 will be on the Ahom front and 50,000-100,000 will be on the southern Bengal front.

125,000 troops from the other borders have come to the Southern Bengal front.

Kalinga-Southern Bengal Front

 * Pre War Stage
 * Delhi Raj (Attacking)- 235
 * Population- 200
 * Government- 5
 * Economy- 15
 * Technology- 15
 * Bengal Sultanate (Defending)- 267 
 * ​Population- 240 (30 million Bengal and 30 million Caliphate)
 * Government- 7
 * Economy- 10
 * Technology- 10
 * War Stage
 * Battle of Simlipal 1560
 * Delhi Raj: 74
 * ​Troops 75
 * Location +2
 * Great General No
 * Blunder  -3
 * Attrition 0
 * Bengal Sultanate: 22.5
 * ​Troops 22.5
 * Location +2
 * Great General No
 * Blunder -2
 * Attrition 0
 * Result: Delhi has a narrow victory. Both sides lose 5% and Bengal moves back.
 * ​Delhi Score 309
 * Bengal Score 169.5
 * Battle Tier 181.92%
 * Battle of Bankura 1561 (125,000 troops come in from other borders, now a total of 375,000)
 * Delhi Raj: 114.5
 * ​Troops 112.5
 * Location +2
 * Great General No
 * Blunder 0
 * Attrition 0
 * Bengal Sultanate: 19.5
 * ​Troops 22.5
 * Location +2
 * Great General No
 * Blunder  -5
 * Attrition 0
 * Result: Delhi Victory. Bengali forces lose 15% while Delhi forces lose 10%. Bengali forces retreat.
 * ​Delhi Score 349.5
 * Bengal Score 166.5
 * Battle Tier 209.9%
 * Siege of Saptgram 1562
 * Delhi Raj: 116.5
 * ​Troops 112.5
 * Location +4
 * Great General No
 * Blunder
 * Attrition 0
 * Bengal Sultanate: 49
 * ​Troops 45 (75,000 Bengal, 75,000 Abbasids)
 * Location +4
 * Great General No
 * Blunder
 * Attrition 0
 * Result: 
 * ​Delhi Score 347.5*0.85 (2-1 Siege penalty) = 298.77
 * Bengal/Abbasid Score 196
 * Battle Tier 152%

Magadh-Northern Bengal Front

 * Pre War Stage
 * Delhi Raj (Attacking)- 235
 * Population- 200
 * Government- 5
 * Economy- 15
 * Technology- 15
 * Bengal Sultanate (Defending)- 147
 * ​Population- 120
 * Government- 7
 * Economy- 10
 * Technology- 10
 * War Stage
 * Battle of Kharagdih 1560
 * Delhi Raj: 29
 * ​Troops 30
 * Location +2
 * Great General No
 * Blunder -3
 * Attrition 0
 * Bengal Sultanate: 37.5
 * ​Troops 37.5
 * Location +2
 * Great General No
 * Blunder -2
 * Attrition 0
 * Result: Narrow Dehlavi Victory. Bengali forces retreat. Both sides lose 5%.
 * ​Delhi Score 264
 * Bengal Score 184.5
 * Battle Tier 143%
 * Battle of Alamngaro 1561
 * Delhi Raj: 29
 * ​Troops 30
 * Location +4
 * Great General No
 * Blunder -5
 * Attrition 0
 * Bengal Sultanate: 34.5
 * ​Troops 37.5
 * Location +2
 * Great General No
 * Blunder  -5
 * Attrition 0
 * Result: Narrow Dehlavi Victory. Bengali forces retreat. Both sides lose 5%.
 * ​Delhi Score 264
 * Bengal Score 181.5
 * Battle Tier 144%
 * Battle of  Dumka 1562
 * ' Delhi Raj: ' 32
 * ​Troops 30
 * Location +2
 * Great General No
 * Blunder
 * Attrition 0
 * ' Bengal Sultanate: ' 62.6
 * ​Troops 60.6 (100,000 Bengal and 102,000 Abbasids)
 * Location +2
 * Great General No
 * Blunder
 * Attrition 0
 * Result: Narrow Bengali Victory. Bengali forces retreat. Both sides lose 5%.
 * ​Delhi Score 267
 * Bengal Score 329.6*1.35 (multi-continent empire) * 0.6 (region penalty) = 313.12
 * Battle Tier 117.27%

Nepal-Ahom Front
'''This front has now been closed. Ahom is under Delhi occupation. There are no problems because more than 95% of the population is Hindu or Buddhist. All forces from this front are now attacking Bengal.'''
 * Pre War Stage
 * Delhi Raj (Attacking)- 235
 * Population- 200
 * Government- 5
 * Economy- 15
 * Technology- 15
 * Ahom Kingdom (Defending)- 21
 * Population- 4
 * Government- 7
 * Economy- 5
 * Technology- 5
 * War Stage
 * Battle of Siliguri 1560
 * Delhi Raj: 34.75
 * ​Troops 33.75
 * Location +2
 * Great General No
 * Blunder -1
 * Attrition 0
 * Ahom Kingdom: 17
 * ​Troops 15
 * Location +2
 * Great General No
 * Blunder -2
 * Attrition 0
 * Result: Crushing defeat to the Ahom forces. Ahom forces lose 60% manpower which is replenished. Ahoms retreat.
 * ​Delhi Score 269.75
 * Ahom Score 38
 * Battle Tier 676%
 * Battle of Hajo 1561
 * Delhi Raj: 33.75
 * ​Troops 33.75
 * Location +1
 * Great General No
 * Blunder -1
 * Attrition 0
 * Ahom Kingdom: 15
 * ​Troops 15
 * Location +1
 * Great General No
 * Blunder -1
 * Attrition 0
 * Result: Ahom forces defeated. Ahom forces lose 70% manpower. Ahoms retreat.
 * ​Delhi Score 268.75
 * Ahom Score 36
 * Battle Tier 729%
 * Siege of Sivasagar 1562
 * Delhi Raj: 41.75
 * ​Troops 33.75
 * Location +8
 * Great General No
 * Blunder
 * Attrition 0
 * Ahom Kingdom: 27
 * ​Troops 15
 * Location +12
 * Great General No
 * Blunder
 * Attrition 0
 * Result: Battle Tier 3. The siege of Sivasagar ends. All Ahom forces are wiped out. Ahom surrenders while Delhi forces lose 5%.
 * ​Delhi Score 276.75
 * Ahom Score 48
 * Battle Tier 576.56%

Kamrup-North Eastern Bengal Front

 * Pre War Stage
 * Delhi Raj (Attacking)- 235
 * Population- 200
 * Government- 5
 * Economy- 15
 * Technology- 15
 * Bengal Sultanate (Defending)- 147
 * ​Population- 120
 * Government- 7
 * Economy- 10
 * Technology- 10
 * War Stage 
 * Battle of Moulvibazar 1562 (25,000 troops came here from the Northern Bengal front and 25,500 Abbasid troops came to help Bengal)
 * Delhi Raj: 32
 * ​Troops 30
 * Location +2
 * Great General No
 * Blunder
 * Attrition 0
 * Bengal Sultanate: 17.15
 * ​Troops 15.15 (25,000 Bengal and 25,500 Abbasid)
 * Location +2
 * Great General No
 * Blunder
 * Attrition 0
 * Result: Delhi has a narrow victory. Both sides lose 5%.
 * ​Delhi Score 267
 * Bengal Score 162.15
 * Battle Tier 203%

Discussion
Dev - I really must complement your aglo-making skills! For your first one, you've definitely got a handle on this better than some of the veterens of the wiki. Unfortunately, for the sake of plausibility my nation had to intervene, but with this beginning I expect great things in your future Oh, I didn't mean to push that button! † Oh, well leave a message I guess 05:13, January 5, 2017 (UTC)

Yalu front (1561)
Approved. Deadly State of Mind (talk) 13:52, January 3, 2017 (UTC)
 * Pre-war stage
 * Korea (attacking)
 * Result – +65.5
 * Location – +0% change (zero penalties)
 * Population – +42 (10.5 million)
 * Government – +7
 * Economy – +6.5 (Tier IV)
 * Technology – +10 (Tier III)
 * Manchuria (defending)
 * Result – +16
 * Location – +0% change (zero penalties)
 * Population – +4 (1 million at most)
 * Government – +5
 * Economy – +2 (Tier I)
 * Technology – +5 (Tier I)
 * Battle stage
 * Korea (attacking)
 * Result – +9.1
 * Troops – +15 (50,000)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -4
 * Attrition – -30% (Moderate winter, contested mountain passing)
 * Manchuria (defending)
 * Result – +2
 * Troops – +3 (10,000)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -3
 * Casualties
 * Korea (victors)
 * 50,000 * (100 - 0.02) = 49,000 survivors
 * Manchuria (losers)
 * 10,000 * (100 - 0.75) = 2,500 survivors
 * Final stage
 * Korea – 65.5 (-0) = +65.5
 * Manchuria – 16 (-7.1) = +8.9
 * 736% in favour of Korea (Battle Tier III)
 * Discussion

Yalu front (1562); needs approval
Manchuria is fully occupied.
 * Pre-war stage
 * Korea (attacking)
 * Result – +65.5
 * Location – +0% change (zero penalties)
 * Population – +42 (10.5 million)
 * Government – +7
 * Economy – +6.5 (Tier IV)
 * Technology – +10 (Tier III)
 * Manchuria (defending)
 * Result – +16
 * Location – +0% change (zero penalties)
 * Population – +4 (1 million at most)
 * Government – +5
 * Economy – +2 (Tier I)
 * Technology – +5 (Tier I)
 * Battle stage
 * Korea (attacking)
 * Result – +9.3
 * Troops – +14.7 (48,000)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -5
 * Attrition – -25% (light moderate winter; contested mountain passing)
 * Result – +1
 * Troops – +0.75 (2,500)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -4
 * Casualties
 * Korea
 * 49,000 * (100 - 0.02) = 48,020 survivors
 * Manchuria (losers)
 * 2,500 * (100 - 0.75) = 625 survivors
 * Final stage
 * Korea (victors)
 * 65.5 = 65.5
 * Manchuria (losers)
 * 16 - (9.3 - 1) = 7.7
 * 851% in favour of Korea (Battle Tier III)

1566

 * Pre-war stage
 * Russia (attacking)
 * Result – +61
 * Location – 0% change (zero penalties)
 * Population – +40 (10 million)
 * Government – +6 (Absolute feudal monarchy)
 * Economy – +5 (Tier III)
 * Technology – +7 (Tier II)
 * Livonia/Teutonic Order (defending)
 * Result – +17.9
 * Location – 0% change (zero penalties)
 * Population – +2.4 (600,000)
 * Government – +5 (Theocracy?)
 * Economy – +3.5 (Tier II)
 * Technology – +7 (Tier II)
 * Battle-stage
 * Russia
 * Result – +3.15
 * Troops – +21 (70,000)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -2
 * Attrition – 0% (heavy winter)
 * Livonia/Teutonic Order
 * Result –+2
 * Troops – +3 (9,000; at most)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -3
 * Casualties
 * Russia
 * 70,000 * 0.94 = 65,800 survivors
 * Livonia
 * 9,000 * 0.7 = 6,300 survivors
 * Final-stage
 * Russia
 * +61
 * Livonia/Teutonic Order
 * 17.9 - (3.15 - 2) = +16.75
 * 364.2% in favour of Russia (Battle Tier II)

1568 (since bel didn't do his part in the partition I see its fair at this point)
Livonia overrun by Russian army
 * Russia (attacking)
 * Result – +61
 * Location – 0% change (zero penalties)
 * Population – +40 (10 million)
 * Government – +6 (Absolute feudal monarchy)
 * Economy – +5 (Tier III)
 * Technology – +7 (Tier II)
 * Livonia/Teutonic Order (defending)
 * Result – +17.9
 * Location – 0% change (zero penalties)
 * Population – +2.4 (600,000)
 * Government – +5 (Theocracy?)
 * Economy – +3.5 (Tier II)
 * Technology – +7 (Tier II)
 * Battle-stage
 * Russia
 * Result – +3.15
 * Troops – +21 (70,000)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -2
 * Attrition – 0% (heavy winter)
 * Livonia/Teutonic Order
 * Result –+2
 * Troops – +3 (9,000; at most)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder – -3
 * Casualties
 * Russia
 * 70,000 * 0.94 = 65,800 survivors
 * Livonia
 * 9,000 * 0.7 = 6,300 survivors
 * Final-stage
 * Russia
 * +61
 * Livonia/Teutonic Order
 * 17.9 - (3.15 - 2) = +16.75
 * 364.2% in favour of Russia (Battle Tier II)

Russia wins decisively and takes a decent chunk of Livonia's territory (Livonia still survives though)

'''Livonia doesnt get the heavy winter attrition bonus they arent large enough for that to be a thing -Feud. '''

'''On another note a second algo needed to be done but can be literally copy pasted. With a copy paste in order, the Livonians do not have a military.. the war would end decisively in favor of Russia. -Feud'''

Russo-Turkic War (1568-
1568 '''Crushing victory for Crimea. The Kievan forces are completely wiped out, while the Russian forces are mostly forced to retreat. '''
 * Pre-war stage
 * Kiev + Russia
 * Result – +67
 * Population – +48 (10 million Russia + 2 million Kiev)
 * Government – +6 (Absolute feudal monarchy)
 * Economy – +5 (Tier III)
 * Technology – +7 (Tier II)
 * Crimea + Ottomans + Abbasids (defending)
 * Result – +397
 * Population – +384 (38 million Abbasids, 7 million Ottomans, 2 million Crimea)
 * Government – +5 (Warlord)
 * Economy – +3 (Tier I)
 * Technology – +5 (Tier II)
 * Battle-stage
 * Russia/Kiev
 * Result – +74 (being very generous below)
 * Troops – +72 (102,000 Russia, 34,000 Kiev)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder –
 * Attrition –
 * Abbasid/Ottoman/Crimea
 * Result –+125.84 (40,000 Crimea, 140,000 Ottoman, 230,000 Abbasid)
 * Troops – 123.84
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder –
 * Casualties
 * Turks
 * 410,000 * 0.02 = 8,200
 * Slavs
 * 136,000 * 0.75 = 102,000
 * Final-stage
 * Russia/Kiev
 * +67 + 72 = 141
 * Abbasid/Ottoman/Crimea
 * 297+125.84 = 522.84 *1.35 (mutli-continent empire) = +705.83
 * 500.95% in favour of the Turks (Battle Tier III)

I didn't put in any location penalty because Russia's core is the same distance from Crimea as the Abbasid's core (according to the location penalty map). Oh, I didn't mean to push that button! † Oh, well leave a message I guess 03:41, January 11, 2017 (UTC)

Your severely overestimating the troops fielded by the Ottomans and the Crimeans. The Ottomans are ON RECORD fielding 50-60,000 max in the Trebizond-Ottoman War. Also multi-continental empire does not add to your score. It only negates continental disadvantage from the Debuffs. So if people have been doing this in algos it is blatantly wrong (i know i wrote the damn thing). Also your fulling ignoring you have to cross a Sea zone to reach crimea. Automatic debuff for the Abbasids. You do not have a direct land connection so your population is immediately down -35% for the ottomans and the Abbasids are down themselves 20% due to crossing the black sea which when you dont have a land connection is considered a sea zone as well a -35% since you do not have physical territory yourself in Europe at least in enough of a physical sense to warrant taking away the penalty from you and in all senses Vassals do not count. On top of this if you continue past crimea into the Caucasus or into the core territories of Kiev your suffering another 20% debuff. If you had any questions about this you should have asked me cause this algo is very wrong.

I asked all my questions the first algos I made. If I was doing it wrong you should have been more clear or corrected things early on. I goy the max militaries from the military calulation in the algo. If bozi in earlier wars didn't understand what his max military was, that's not my problem. The location map doesn't list the Black Sea as a sea zone as it is designated by a number and not a letter. According to the location map, both Russia and the Middle East border the region where Crimea is. The algo never says that Multi-Continental empire only counts in certain situations, nor does it say where it can be used. I understood it to include colonies of colonial empires, as Crimea is an Ottoman colony. Of course, I conceed to your corrections as you wrote the algo, but all Im saying is everything about it is so vague and seems to change based on whether your ally is in danger. Oh, I didn't mean to push that button! † Oh, well leave a message I guess 19:19, January 11, 2017 (UTC)

Correct algo as done by the guy who made the algo

 * Kiev + Russia
 * Result – +74
 * Population – +48 (10 million Russia + 2 million Kiev)
 * Government – +6 (Absolute feudal monarchy)
 * Economy – +10 (Tier III Russia leading)
 * Technology – +10 (Tier III Russia leading)
 * Crimea + Ottomans + Abbasids (defending)
 * Result – +127
 * Population – +92 (18 million Abbasids (55% debuff), 3.15 million (after 55% debuff) Ottomans, 2 million Crimea)
 * Government – +5 (Warlord)
 * Economy – +15 (Tier IIII)
 * Technology – +15 (Tier IIII)
 * Battle-stage
 * Russia/Kiev
 * Result – +42.8 (being very generous below)
 * Troops – 40.8 (102,000 Russia, 34,000 Kiev)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder –
 * Attrition –
 * Abbasid/Ottoman/Crimea
 * Result –+46.1 (
 * Troops: 15,000 Crimea, 52,000 Ottoman, 80,000 Abbasid)
 * Location – +2
 * GG/GL/GA – N/A
 * Blunder –
 * Casualties
 * Turks
 * Slavs


 * Final-stage
 * Russia/Kiev
 * 72 + 42.8 = 114.8
 * Abbasid/Ottoman/Crimea
 * 127+ 42.8 = 169.8
 * This is all ONLY if you are able to come up with a legit way to invade russia without invading Bulgaria first to cut through the straits. -Feud