xPos = 5
yPos = 6
while True:
# If there's an enemy, attack.
enemy = hero.findNearestEnemy()
if enemy:
hero.attack(enemy)
# Else, keep moving up and to the right.
yPos += 3
xPos += 3
pass
here’s the URL and
https://codecombat.com/play/level/sarven-road?
I can not reply anymore but thanks I figured it out