Can’t get past this level. been trying for 2 hours!!!http://www.google.com/imgres?imgurl=http://sunsetbeachncandbeyond.com/image_store/uploads/agents/realtycj/files/Thanks.jpg&imgrefurl=http://driverlayer.com/img/please/147/any&h=431&w=431&tbnid=iFKYqc35iPNU8M:&zoom=1&docid=IuJ0iu0dNciPvM&ei=ymriVLL2Os_yoATZmIDgDw&tbm=isch&ved=0CC4QMygHMAc!!! Please help.
I somehow have the feeling that one or two hits on that “Enter”-key might have helped here. This preview on the right is there for a reason.
On the other hand, after I looked at the picture… It’s irrelevant.
But I have a wonderful post written just about this.
Don’t distract yourself with the upper half of the post, important is the list at the bottom.
Click the following spoiler to get the summary
I have no idea what your problem is, describe it! I can’t read minds.
i got a code that might just help u pass the level
(Solution removed) Please don't post solutions. Thanks.
i hoped it worked!!!
The point of the site is not to “pass levels” but to learn to code…
Just giving someone the code is probably not going to do it.
Public Notice: Please test your code before posting it as a solution.
i did test it and it worked
HERE IS MY CODE FOR PYTHON while True:
Mod edit: solution removed
Hi, welcome to the CodeCombat discourse.
Please could you not post solutions as it ruins the level for other people.
could you edit the post (by clicking the little pencil to the left of the reply button) and get rid of the bit with the solutions.
I am stuck because my character is not running away from the ogre.
while True: enemy = hero.findNearestEnemy() # Remember: don't attack type "burl"! if enemy.type == "burl": hero.say("I am not attacking that Burl") # The "type" property tells you what kind of creature it is. if enemy.type == "munchkin": hero.attack(enemy) hero.attack(enemy) # Use "if" to attack a "thrower". if enemy.type == "thrower": hero.attack(enemy) hero.attack(enemy) hero.shield() # If it's an "ogre", use moveXY to run away to the village gate! if enemy.type is "ogre": hero.say("Run away it is an ogre") hero.moveXY(41, 55)
Try to attack only once. And try to not say anything when you see the ogre, just run.
What is your equipment?
And did you try to submit again? Maybe it was just an unlucky seed.
I am going to close it out and try again.
No he still does not go anywhere.
Can you send me what do your boots do?
Can you send me the link?