Connection points:
https://codecombat.163.com/play/level/dread-door
After the door fear full possession of the treasure
Summary:
while-true loop may use any method, such as:
while True:
hero.moveRight ()
hero.attack("Brak")
The default code
# Attack door ( "Door")
# Need to attack many times, use the "while-true" loop
Overview
You can combine attacks with circulation and attack what they need to easily attack many times, just like the door.
# Picked luminous stone, so strange skull away from you for a while.
while True:
hero.attack("Door")
You can attack it by its name "Door".
With circulation and attack, you can just write this off by two lines of code.
Fear Door Solutions
# Attack door ( "Door").
# Need to attack many times, use the "while-true" cycle.
while True:
hero.attack("Door")
Raiders made in the official teaching Wars geeks column, the original address is: