I’m stuck on Cupboards of Kithgard. I’m pretty sure my code is right, but my hero dies every time.
# There may be something around to help you! # First, move to the Cupboard. hero.moveUp() hero.moveRight() hero.moveRight() hero.moveDown() hero.moveDown() # Then, attack the "Cupboard" inside a while-true loop. while True: hero.attack("Cupboard")