This is such an interesting concept, reminds me of the old educational spell to win games (in a good way).
No bugs that I found, although may want to work on pathing as a few got stuck behind buildings and then could be attacked in safety, ooo, maybe the inputs only work by line of sight, although I have no idea how difficult that would be to implement.
All in all, very interesting and enjoyable