Level connection: https://codecombat.163.com/play/level/vorpal-mouse
Free Trial: https://codecombat.163.com/play
Click combat.
Brief introduction
Course of the game, you can click on the ground to move, you can click ogre attack!
This off, you only need to click PLAY, then beat all the ogre!
The default code
# The game, click on the ogres to attack!
# Hurdle need to type any code, just click the button to test the level!
# The following code will generate a hero for the game:
game.spawnPlayerXY("guardian", 40, 40)
# These points will add a target:
game.addDefeatGoal()
game.addSurviveGoal()
# This will generate some alternative to fight the enemy:
game.spawnXY("munchkin", 40, 25)
game.spawnXY("munchkin", 15, 15)
game.spawnXY("munchkin", 65, 15)
# This will generate a maze of players:
game.spawnXY("forest", 30, 54)
game.spawnXY("forest", 50, 54)
game.spawnXY("forest", 30, 48)
game.spawnXY("forest", 50, 48)
game.spawnXY("forest", 30, 40)
game.spawnXY("forest", 50, 40)
game.spawnXY("forest", 30, 32)
game.spawnXY("forest", 50, 32)
game.spawnXY("forest", 30, 26)
game.spawnXY("forest", 50, 26)
game.spawnXY("forest", 30, 10)
game.spawnXY("forest", 50, 10)
game.spawnXY("forest", 22, 26)
game.spawnXY("forest", 58, 26)
game.spawnXY("forest", 14, 26)
game.spawnXY("forest", 66, 26)
Overview
Coming soon!
Solution mouse beheading
# The game, click on the ogres to attack!
# Hurdle need to type any code, just click the button to test the level!
# The following code will generate a hero for the game: -
game.spawnPlayerXY("guardian", 40, 40)
# These points will add a target:
game.addCollectGoal()
game.addSurviveGoal()
# This will generate some alternative to fight the enemy:
game.spawnXY("munchkin", 40, 25)
game.spawnXY("munchkin", 15, 15)
game.spawnXY("munchkin", 65, 15)
# This will generate a maze of players:
game.spawnXY("forest", 30, 54)
game.spawnXY("forest", 50, 54)
game.spawnXY("forest", 30, 48)
game.spawnXY("forest", 50, 48)
game.spawnXY("forest", 30, 40)
game.spawnXY("forest", 50, 40)
game.spawnXY("forest", 30, 32)
game.spawnXY("forest", 50, 32)
game.spawnXY("forest", 30, 26)
game.spawnXY("forest", 50, 26)
game.spawnXY("forest", 30, 10)
game.spawnXY("forest", 50, 10)
game.spawnXY("forest", 22, 26)
game.spawnXY("forest", 58, 26)
game.spawnXY("forest", 14, 26)
game.spawnXY("forest", 66, 26)
Raiders made in the official teaching Wars geeks column, the original address is:
https://codecombat.163.com/news/jikezhanji-zhanshoulaoshu