your turn, than the coms. 1 is free, 2 cost 25 coins and 3 cost 50 coins.
if the com goes first, press the green flag again. if you don't have enough coins to attack, you lose your turn.