Is there a flowchart or similar for the AIs?
Don't think I've ever seen a flowchart of how the different AIs function.
Also for the "Hard" AI - is that an adaptation of an earlier AI? Like Easy is Moore 'n Able, Medium is something, Hard is something else?
'cos it looks like the Hard AI may not be calculating the counter?
@aardvarkpepper as far as i know the only AI beign actively developed is Hard AI the other 2 are legacy AI's from a time when AI was a bit less capable.
TheDog last edited by
I fell across this in my travels, hope it helps.
@TheDog nice find +1 bookmark for me.
"Hard AI" and "Fast AI" are practically identical. The only difference between the two is how they calculate whether a battle is winnable or not.
With "Fast AI", it estimates the power of both sides and then uses that to figure out which side will win. You can see the initial method that does the work at https://github.com/triplea-game/triplea/blob/master/game-core/src/main/java/games/strategy/triplea/ai/fast/FastOddsEstimator.java.
With "Hard AI", it runs 1-16 battle simulations (similarly to how the Battle Calculator works) and then takes an average of the results.
The "Easy AI" is a lot different from the others. I haven't actually looked at its code but it is a lot smaller than the Hard/Fast AI code base.
@Trevan at one time there were 3 ais, does nothing, more enable and i think it was advanced or something. more enable became easy iirc when advanced was replaced with hard and i believe fast was just meant to be a less cpu taxing version of hard. anyway that's how i remember it. @redrum was the one responsible for the revamping so he would know better/more than me.
@TheDog Thanks. Quite handy.