https://codecombat.163.com/play/level/haunted-kithmaze
一个为困住冒险者而修建的迷宫。
一定要检查缩进!
在这关你只需 一个 while true 循环 加上 四行 代码。
while true 循环能让你一遍遍重复相同的代码. 使用循环的话,只用四条语句便可通关。
提示: 走廊需要 两次向右移动, 两次向上移动。 在这里, 你可以让 while true 循环 重复剩下的步骤。
确保你的移动命令 在循环里 , 它们才能重复执行!
原文:https://www.cnblogs.com/codecombat/p/12085310.html