Wars(SD map game)

Landscape

 * Location-points:+point*2
 * Defending:+12
 * Attacking an enclave/exclave inside your country:+9
 * Rebellion attack:+8
 * Attacking on border:+5
 * Attacking close to border(like across a lake, Spain attack morocco,etc.):+2
 * Far away but on your continent:-2
 * Not even on your continent(e.g, Chile attacking Angola):-6
 * planet/star no more than 10 AU:-12
 * Planet/star no more than 1 light years:-20
 * Planet/star in your galaxy:-26
 * Andromeda:-30
 * Harsh Climate:attacker-8, defender+8
 * Climate Extremism:attacker-16, defender+11
 * Landlocked:-10

Economy/Agriculture/Population
Note: average country have 33% more population on 2075. The growth rate is about 0.04% because of climate chaos and land limitation. But, you can colonize Mars!

Economy

 * a planet of thriving economy(colonized more than 150 years ago):+8*economy points
 * a planet of growing economy(80-150):+5*economy points
 * a planet of starting economy(20-79):2*economy points
 * just colonized:economy point-1
 * economy better than enemy by 2:9
 * economy better than enemy by 3:16
 * economy better than enemy by 4:25
 * economy better than enemy by 5-7:36
 * economy better than enemy by 8-9:49
 * more difference than 10: 59

Agriculture

 * Agricultural efficiency:requires technology over 5. +(Technology-5)*Economy*Agriculture/5
 * Agriculture-economy balance:+(-|agriculture-economy| +2)
 * Supply:agriculture*naval/2

Population
Population top 5 in game:+30

Population top 25 in game:+12

Population last 50: -5

Population 1 billion+(level6):+25

Population 1000M(level5)+:+15

Population 600M(level4)+:+9

Population 300M(level3)+:5

Population 100M(level2)+:2

Population 1M-100M(level 1):0

Population less than 1M(level0):-1

Causus Beli

 * No Causus Beli:-10
 * Have a Causus Beli:mod dicided weather if it is good(15) or bad(-7)

Motive

 * Economic:+3
 * Defend against popular rebel:+5
 * Defend newly held territory (less than 5 years):+7
 * To unify a culture:+8
 * Defend territory that are not really important:+10
 * Reunification:+11
 * aiding ally:+11
 * counter:+11
 * access to sea/ocean: +13
 * defending heartland:+16
 * Revolting:+19
 * Defending enemy with lethal weapon(e.g. Kaptyen-16-8)+20
 * Revolts defending:+21
 * Defending enemy that will Danger the nation:+25
 * Defending enemy that will kill the nation:+30
 * Defending enemy that will end a popular revolt:+37.

Modifiers

 * Implausiblilty:minus 10 per implause
 * Guerilla War:-11 attacker, +4 defender
 * Defender undergoing revolt: +7 attacker -15 defender
 * Attacker undergoing revolt: -30 attacker +2 defender

Type of Government
Monarchy: +(2*Motive+economy*tech/3)

Democrat: +(3*population level+1/2economy+agriculture)

Socialist: +(agriculture*2+(10-tier)-2)

Islamic:+population

Vassal:+motive/2-tech

Government not supported by people:-19

aids
Military support:+11 Logical:+7 Economy:3

Luck
Use two integers from 1-100 from random.org and use the bigger one to divide the smaller one then add a random integer from 5-10 to it.


 * troop morale high:requires economy 4+, luck overall 10+:+15


 * troop morale low:tier III or below, agriculture lower than 6, luck overall 6.5-:-20

troop
The side with more troop gets+20.

War result
Just make sure this is plausible. But, the economy and population will go down by a bit. especially economy which might change you from 10 to 5. If you lose lots of war, your tier will go down quickly.

Naval battle Algo
Causus Beli, Modifiers, luck, population, motive(with a few changes) type of government, aids and tier still apply, as in the land battle. But I'm not writing the same thing because it do take a long time.

Port

 * side with the nearest port:+12
 * A country's best port(dicided by mods): vary from -10 to +15
 * Without a port(this is possible): -25
 * the best port is the nearest one:+10

Navy quality

 * Naval point bonus:4*Naval point
 * Side with better naval point:+13
 * Side with much better naval:+27
 * Supply:+Resource+agriculture
 * Quality: +economic point
 * Balance: If naval point is the 2nd or 1st out of your points, -2; if it is last two, -3.

Motive

 * Any attack by a revolt:+3
 * Economic:+3
 * Defend newly held territory (less than 5 years):+7
 * To unify a culture:+8
 * (modifier)Surprise sea attack(Like Pearl Harbor):+9
 * Defend territory that are not really important:+10
 * Reunification:+11
 * aiding ally:+11
 * counter:+11
 * (modifier)strategic attack a somewhat bigger navy(1.9*your size):+11
 * (modifier)Trying to strategic attack a much bigger navy:+15
 * defending heartland:+16
 * Revolting:+19
 * Defending enemy with lethal weapon(e.g. Kaptyen-16-8)+20
 * Revolts defending:+21
 * Defending enemy that will Danger the nation:+25
 * Defending enemy that will kill the nation:+30

Space battle Algo
Undicided yet.

China
Port Nearest port:+15 Port quality: pretty good(+8)