【代码】使用循环

前言

关卡攻略

源代码

1
2
3
4
5
6
for i in 1 ... 5 {
moveForward()
moveForward()
collectGem()
moveForward()
}

完成