world.place(Stair(), facing:.south,
? ? ? ? ? ? atColumn: 3, row: 1)
world.place(Stair(), facing:.south,
? ? ? ? ? ? atColumn: 3, row: 3)
world.place(Stair(), facing:.east,
? ? ? ? ? ? atColumn: 5, row: 5)
world.place(Stair(), facing:.north,
? ? ? ? ? ? atColumn: 3, row: 7)
world.place(Stair(), facing:.west,
? ? ? ? ? ? atColumn: 1, row: 5)
move(distance: 5)
turnLeft()
func QQ() {
? ? move(distance: 3)
? ? turnRight()
? ? moveForward()
? ? turnRight()
? ? turnRight()
? ? toggleSwitch()
? ? moveForward()
? ? toggleSwitch()
? ? moveForward()
? ? toggleSwitch()
? ? turnRight()
? ? turnRight()
? ? moveForward()
? ? turnRight()
? ? move(distance: 3)
? ?
}
QQ()
QQ()
turnRight()
QQ()