【英文】行至边缘再返回

Preface

Level walkthrough

Source Code

1
2
3
4
5
6
7
8
9
10
11
12
13
func work() {
moveForward()
moveForward()
toggleSwitch()
turnLeft()
turnLeft()
moveForward()
moveForward()
turnLeft()
}
for i in 1 ... 4 {
work()
}

Completion