AlexeySapsay / Python_solution_CodeCombat_2018

In that repository I will post my sollution for codecombat.com games for study Python
1 stars 0 forks source link

Pied Piper #171

Open AlexeySapsay opened 6 years ago

AlexeySapsay commented 6 years ago
# Follow me on youtube  channel Phy Tu
# Help with programming on Python, school math, physics
# https://www.youtube.com/channel/UCP5ycahCEZ24qmRRgNnko5Q

# Save hostages and escape.

# Put the pet close to the scouts.
pet.moveXY(24, 38)
# The shape shifting ability allows to lure ogres.
pet.shapeShift()
pet.moveXY(24, 6)
pet.moveXY(48, 6)

# Now lure brawlers to the sand yaks.
hero.moveXY(5,35)
hero.moveXY(59,39)
# The path is free and the hero can safely go home.
hero.moveXY(64,36)
hero.moveXY(70,10)
hero.moveXY(64,61)