https://codecombat.163.com/play/level/haunted-kithmaze編程
一個爲困住冒險者而修建的迷宮。ide
必定要檢查縮進!ui
在這關你只需 一個 while true 循環 加上 四行 代碼。code
while true 循環能讓你一遍遍重複相同的代碼. 使用循環的話,只用四條語句即可通關。blog
提示: 走廊須要 兩次向右移動, 兩次向上移動。 在這裏, 你可讓 while true 循環 重複剩下的步驟。get
確保你的移動命令 在循環裏 , 它們才能重複執行!it
本攻略發於極客戰記官方教學欄目,原文地址爲:class
https://codecombat.163.com/news/jikezhanji-naoguidemigonggui