3 ms·
Sure, here's the AI after a change introduced a pretty severe bug: https://www.dropbox.com/s/lqclj3toywnh8ak/losing.svg?dl=1 https://www.dropbox.com/s/lqclj3to
by moconnor 12y ago
Sure, here's the AI after a change introduced a pretty severe bug:
https://www.dropbox.com/s/lqclj3toywnh8ak/losing.svg?dl=1 https://www.dropbox.com/s/lqclj3toywnh8ak/losing.svg?dl=1
In this case looking at the replays for the most similar win/loss runs (15 and 4) and the most severe losses (31+32) made the cause absolutely clear.
Here is the current state of the AI:
https://www.dropbox.com/s/e1n3wevn2gggbic/winning.svg?dl=1 https://www.dropbox.com/s/e1n3wevn2gggbic/winning.svg?dl=1
In both the cases in which is loses its opponent gets lucky in combat and has a critical unit level up twice. There was no need for the AI to risk this happening though, so the next improvement might be to make it target units that are gaining XP more aggressively earlier on when winning, or simply avoid combat with units likely to level up and move straight in for the kill.
Of course, there are a wide range of more general improvements that can be made as well - this version of the AI only recruits skeletons, for example!