How does everyone determine what to do early game when you're stuck up against an opponent with 2 or 3 regions?
Lets assume situation, that GreenTea bot at start has 2 reagions near to enemy: first in SA, second in Africa.
Third region in Australia, enemy is not visible (but bot know that enemy here by analyzing picks).
Then algorithm works something like this (not only in early game):
1) For my regions near to enemy calc it startegic value. For visible enemy region also calc strategic value.
For SA it would be higher.
2) For every region pair, where first region is my and second is enemy, calc average scores (*) of attack and defence using income from 0 to myIncome, considering
that enemy could also attack or defend using his income from 0 to enemyIncome.
Also during average scores calculation some suicide attacks are skipped (for example no sence to attack by 5 region with 20 etc) because they give big information noise.
Scores of attack/defence is depends much from strategic value of region calculated on step 1.
3) For every possible distribution of income
[
0 1
0 2
...
0 5
1 0
1 2
...
1 4
...
...
5 0
]
found those which gives maximum average scores for all region near enemy.
During this process also found what is better for every region to attack, defend or make some strategic move.
* - maximizing of average scores gives that bot usually place not all 5 armies in one region like SupremeDalek does.
In version next after v63 I maximize not average scores but value
0.4*averageScore + 0.6*maxScore
where maxScore is max score of one of regions. So bot should more to focus on one region, then spread income on all regions.
So after all of this, we have that for some first N turns bot usually try to defence in those 2 region.
But using of income cost some score -> this leeds to that when stacks are big - bot understand that put all armies on defence has no big sense
and better to save income (incresing defence scores become less then scores of used income).
And this free income is using to create stack in Australia, which then will move towards hidden enemy.
Edited 6/6/2014 22:39:39