【代码】转身

前言

关卡攻略

源代码

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

完成