-"The algorithm for unit movement on the battlefield." - everything is explained))
There are clear algorithms.
......
If there are several units within reach that can be reached in the minimum number of turns, then many factors come into play, and I don't want to explain them in detail, such as the balance of power between the armies, the range of other units, the ratio of surrender/AI, the influence of already surrendered units, spells also have an influence, and spells originally affect two-cell units, such as the wall of fire, and the ballista has a very original effect on harpies, and so on.
:rolleyes: