CodeCombat: Ogre Encounter Solutions to the Levels “Cheat Sheet”
Here are the solutions required for each level in Python. For JavaScript, add a semicolon “;” at the end of every line.
Level 1. Dungeons of Kithgard
hero.moveRight()
hero.moveDown()
hero.moveRight()
Level 2. Gems in the Deep
hero.moveRight()
hero.moveDown()
hero.moveUp()
hero.moveUp()
hero.moveRight()
Level 3. Shadow Guard
hero.moveRight()
hero.moveUp()
hero.moveRight()
hero.moveDown()
hero.moveRight()
Level 4. True Names
hero.moveRight()
hero.attack(“Brak”)
hero.attack(“Brak”)
hero.moveRight()
hero.attack(“Treg”)
Filed as:
CodeCombat: Ogre Encounter