My hero collects the first coin but after that he just stands there.
# Be the first to 100 gold! # If you are defeated, you will respawn at 67% gold. item = hero.findNearestItem() itemPosition = item.pos itemX = itemPosition.x itemY = itemPosition.y while True: # Find coins and/or attack the enemy. # Use flags and your special moves to win! hero.moveXY(itemX, itemY)