Help I don’t get anything I have been stuck for 3 days.
# The goal is to survive for 30 seconds, and keep the mines intact for at least 30 seconds.
def chooseStrategy():
enemies = hero.findEnemies()
# If you can summon a griffin-rider, return "griffin-rider"
# If there is a fangrider on your side of the mines, return "fight-back"
# Otherwise, return "collect-coins"
def commandAttack():
# Command your griffin riders to attack ogres.
pass
def pickUpCoin():
# Collect coins
pass
def heroAttack():
# Your hero should attack fang riders that cross the minefield.
pass
while True:
commandAttack()
strategy = chooseStrategy()
# Call a function, depending on what the current strategy is.