Press the green flag to run Press space to spawn a troop Click see inside and remix the project if you wanna make your own game out of it
The positions of the buildings are stored in a list, where the troops pick a random building out all of them. Then, they go towards their selected building, and hit it until they destroy it. After that, the cycle continues until no more buildings are in the map. A little buggy when there are few buildings left All coding by me (this took 6 hours to make) Give credit when remixing Sorry if this is a boring project