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")
Hi, welcome to the Discourse! If you’ve fixed the problem, could you please mark your most recent post as the solution by clicking the “[x] Solution” button:
In the corner of the reply.
Thanks,
Marmite
EDIT: Oops, sorry, I just realised that this is a bug report and not level help