Connection points:
https://codecombat.163.com/play/level/lost-in-the-stacks
Using the code block to find a way out of the library.
Summary:
So far, your code is running in accordance with the order.
Now, you will use code blocks: command set can be used repeatedly.
This is the way how you have to create a code block:
All movement commands are part of the block of code.
while-true command statement: Repeating code blocks over and over again in order.
The default code
Overview
Code block is really very useful!
Make sure you have mastered this, you will be very dependent on them in the future checkpoints inside!
In this cycle the level while-true command
He tells the program to repeat over and over again inside the block of code!
Lost in the stacks Solution
Raiders made in the official teaching Wars geeks column, the original address is: