[SOLVED] The Final Kithmaze (Dungeon 1)

Please I’ve done this code forever please correct me I can’t seem to find anything
here’s what I’ve done

<while True:

pass
hero.moveRight()
hero.moveUp()
hero.moveRight()
hero.moveDown()
bad = hero.findNearestEnemy()
hero.attack(bad)
hero.attack(bad)
hero.moveDown()
hero.moveDown()
hero.moveUp()>

THIS WAS IN PYTHON FOR ALL INFORMATION.
so please give exact answers

First, format your code correctly

Are you trying to get all the bonuses?

Also, to make your code shorter and to get one of the bonuses, you need to put a number. For example,

instead of:

hero.moveDown()
hero.moveDown()

make it:

hero.moveDown(2)

Solved it Yesterday so :confused:

Looked at hints? It helps a lot .

negative, I just kept messing with it

Oh nice, Well try to use hints next time.