pure fun 
and a nice system by the way.
If your AI attacks other units though, from a technical standpoint, it would be more efficient for all to attack one target until it is dead, thus decimating the enemies damage-dealing power. But since the poor helpless castle can’t fight back…
next step: add towers that shoot and thus are priority targets? 