How do you stack troops

How do you stack troops
0

#1

I was wondering how to stack troops in python


#2

you can use game_state.attempt_spawn(unit_type, location, n_units) or call n_units times game_state.attempt_spawn(unit_type, location)


#3

The most standard way to do this is with a simple for loop. Imagine each call to attempt_spawn as a ‘click’ in play-by-hand where you place one unit. Calling it multiple times on the same location will let you spawn more units there.