The algo for the 38 galactic nation game (Map Game)

Algo
None is to be used beyond a simple table of 'war factors', so use your common scene and reed the table below! Always say how many troops, tanks, aircraft, ships, etc, that you use so as to give the mods a good grasp of the situation so they can judge the outcome fairly.


 * 1) Each side's troop numbers ÷ 100,000 equal the starting score on boat sides (example 1,000,000 troops= 10 points).
 * 2) Sides using spies that they implanted in to their opponent in the previous round gain 10 points.
 * 3) Attacking a small island like Barbados the defender loses 5 points and the attacker gains 5 points.
 * 4) Attacking a ultra small atoll type island like Wake Atoll the attacker lose 5 points and the defender gains 5 points.
 * 5) Attacking a modest island like Cuba the attacker lose 10 points and the defender gains 10 points.
 * 6) Use of WMD gives the attacker 15 points and the defender looses 15.
 * 7) Holy war (crusade, jihad,etc) gains the side using it as cause belli for war gains 5 points.
 * 8) If a side is fighting a major jungle, desert, high mountains, swamps and polar zone the attacker lose 10 points.
 * 9) If a side is fighting for more than 2 years then it loses 1 point.
 * 10) If a side is under sanctions by a industrially potent nation (like OTL USA, Russia, USSR, Germany, China, etc) for more than 2 years then it loses 5 points.
 * 11) If a side is fighting nations with cities over 10,000,000 (like OTL 2016 Jataka and Cairo) then it loses 1 point.
 * 12) If a side is fighting to defend it's homeland, not a colony then it gains 10 points.
 * 13) If a side is actively mining a major fuel source Prudhoe Bay oil field, Cigar Lake Uranium Mine, Karachaganak gas field and\or the Dombass coal field, then the mining side gain 6 points.
 * 14) Cruise missiles give their user 7.5 points.
 * 15) The nation with the highest population gets 1 point.
 * 16) All major powers and superpowers gain 7.5 points.
 * 17) If a nation's border or coastline has major forts and major bunkers (like OTL Maginot line) then the attacker loses 12 points and the defender gains 12 points.
 * 18) The loosing side from the previous round it the battle with the same opposing side loses 1 point.
 * 19) A cyber attack (where relevant) gains the attacker 12 points and loses the defender 12 points.
 * 20) If a side is actively mining a major copper reserve like the African Copperbelt, bauxite reserves like those across Jamaica, gold reserves like at S. Africa's East Rand Mine and\or major iron reserve like Australia's iron ore works at Pilbara, then the mining side gain 6 points.
 * 21) If a side is actively increasing farming of cattle, sheep, goats, maize, wheat, barley, canola, brassica and\or oats in a zone that is agriculturally comparable in soil fertility to the American Corn Belt\Grain Belt, the farming side gains 5 points.


 * The result is added up to find the total for each side and then work out the attacker's score as a % of the defender's score.
 * Over 100% and the attacker wins, 100% is a draw, below 100% and the attacker looses.
 * +200% or more = Defender routed and their nation surrenders.
 * +75%= Defender loses 75% of their land.
 * +66%= Defender loses 66% of thire land.
 * +50%= Defender loses 50% of thire land.
 * +33%= Defender loses 33% of thire land.
 * +25%= Defender loses 25% of thire land.
 * +10%= Defender loses 10% of thire land.
 * +1%= minimal win (1px).
 * +100% (0% change either way) = a draw.
 * -1%= minimal loss (1px).
 * -10%= Attacker loses 10% of thire land.
 * -25%= Attacker loses 25% of thire land.
 * -33%= Attacker loses 33% of thire land.
 * -50%= Attacker loses 50% of thire land.
 * -66%= Attacker loses 66% of thire land.
 * -75%= Attacker loses 75% of their land.
 * -200% or more = Attacker routed and their nation surrenders.


 * Work out the % on this tool- http://www.onlineconversion.com/percentcalc.htm.