Mind the trap. Help ME!


I cant figure out this level this is my code

while True:
    flag = hero.findFlag()
    enemy = hero.findNearestEnemy()
    if flag:
        # Pick up the flag.
        hero.say("I should pick up the flag.")
    elif enemy:
        # Only attack if the enemy distance is < 10 meters
        if self.distanceTo(enemy) < 10:

please Help!


can you be a little more specific


It says i ran out of time


the code looks fine you just need to put the flags in the right place


try faster boots Jet 531


where do i put them HELP ME!!!


ok one sec Jet531. I will check your code


place the flag near the ogres like close to the middle of their circle


This wuld only work if you have the right armour


i meant to say would


did you pass it Jet531


I just needed the right armor thank you Andevar000


you are welcome Jet531