C&C algorithm V1

Attacker
*Location: ** Location Bonus: * Tactical Advantage: * Nations Per Side: *Expansion: *Motive: **Modifiers: *Nation Age: *Population: *Participation: *Number of Troops: * Concurrent Wars: Total: ===Defender=== *Location: ** Location Bonus: * Nations per side: *Expansion: *Motive: **Modifiers: *Nation Age: *Population: *Participation: *Recent Wars: *Troops strength: * Concurrent Wars: Total: Location
 * Attacker
 * Plains: +7
 * Desert: +5
 * Hills: +4
 * Valley: +2
 * Mountain: +0
 * Modifiers
 * Forest -10%
 * City - 10%
 * Major city: -5%
 * Fortifications: -5%
 * River
 * Minor river: -5%
 * Major River: - 15%
 * Defender
 * Plains: +3
 * Desert: +2
 * Hills: +5
 * Valley +4
 * Mountain: +7
 * Modifiers
 * Forest
 * +5%
 * City
 * Major city +5%
 * Fortifications: +5%
 * River
 * Minor River: +5%
 * Major River +15%

Armies (troop Strength)
Every 5000 militia attacking/defender = +1

Every 2500 Infantry attacking/defender = +1

Every 1000 Knights attacking/defender = +1

Every 1500 Archers attacking/defender = +1

Every 1000 cavalry attacking/defender = +1

Every 500 knights on cavalry attacking/defender = +1
 * Modifiers
 * Plains +10%
 * Desert +5%
 * Hills -5%
 * Mountain -10%
 * City -5%
 * Major city -10%
 * Historical Major general +20%
 * Historical General +10%
 * General +5%
 * incompetent general -10%

For every 250 army defending = +1
 * Modifiers
 * Plains -5%
 * Desert -10%
 * Hills +10%
 * Mountain +15%
 * City +5%
 * major city +10%
 * Historical Major general +20%
 * Historical General +10%
 * General +5%
 * incompetent general -10%

Population. (We will use historical figures)
For every 250,000 people add +1

Nation Age

 * 1000 years old = -5
 * 750 years old = -2
 * 500 years old = +2
 * 250 years old = +4
 * 150 years old = +6

Motive

 * Religious +5
 * Expansion +3
 * Unjust -30%
 * Rivalry +3
 * Claims +7

Nations
Every two nations add +1. for either side.

Every concurrent war -2. for either side