Auto-translated
No screenshot is needed here. In the second game, there is a clear algorithm: if monsters can reach the archers, they attack them, then the flying units attack, and if there is nothing like that, then the ground units attack. Moreover, the strongest unit is attacked; if there is a choice, then, for example, titans and dragons are attacked first. There must be some attack algorithm in the first game as well. Regarding the archers, it seems clear. But with the flying units, it seems that there isn't one. For example, I placed a pikeman and a unicorn sprite, and it attacked the horse. Does the pikeman move forward and can approach the sprite or unicorn, will it definitely go the shortest way, or just wherever it looks? And similarly, which units will the flying units attack first? I will, of course, figure this out myself, but it is not always possible to implement the full diversity of situations.