My son is having trouble with the level “Crushing It”
His code:
# Spawn a hero using game.spawnPlayerXY(type, x, y).
player = game.spawnPlayerXY("captain", 36, 30)
game.addSurviveGoal()
# Add a goal to defeat ogres with game.addDefeatGoal()
game.addDefeatGoal(4)
game.spawnXY("munchkin", 40, 10)
# Spawn at least 3 more munchkins.
mySpawn = game.spawnXY("munchkin", 35, 30)
mySpawn = game.spawnXY("munchkin", 38, 30)
mySpawn = game.spawnXY("munchkin", 36, 32)
I am usually able to help him, but I am missing something.
Thanks.