Skip to content

[2x2 Tournament] Double Up [SoD]

#312
Auto-translated
Sav
I have thoroughly studied the AI in combat by analyzing the executable file and fixed the Berserker bug. I can say that the difference here is not that significant.
The thing is that the Berserker bug is not a coding error (like a typo or inattention), but an error in the algorithm itself – some possible scenarios have not been taken into account.
Such bugs are also difficult to fix: for example, fixing the issue where neutral creatures pass through walls (which is the result of a coder's inattention) takes about 20 lines of code, while fixing the Berserker bug takes about 250.

Regarding the possibility of controlling the AI with single units, it is difficult to say whether this was intended or not (I think it wasn't), but the fact that the AI passes through fire walls without hesitation is definitely a bug/feature of the same kind as the Berserker bug: the AI has all the calculations for the danger of the fire wall, but they are used incorrectly.

Very interesting. Tell me, was the initial design of the reaction to the fire wall supposed to only involve finding a way around it? For example, if Luna attacks with a single unit and completely blocks it with a wall, making it impossible to approach her without taking damage, I would defend and wait for her mana to run out instead of attacking. This is logical from the point of view of optimal losses. If, for example, you have to attack directly despite increased damage because otherwise you will take even more damage, then you can wait two turns. Or can't the AI think two moves ahead? :)