-- move around randomly, and then go back local mv = require("movement") math.randomseed(os.time()*100) for i=1,10 do local n = math.random(1, 4) if n == 1 then mv.face(1, 0) elseif n == 2 then mv.face(-1, 0) elseif n == 3 then mv.face(0, 1) elseif n == 4 then mv.face(0, -1) end end for i=1,10 do local n = math.random(1, 4) if n == 1 then mv.up() elseif n == 2 then mv.forward() elseif n == 3 then mv.turnLeft() elseif n == 4 then mv.turnRight() end end mv.debug() mv.goBackTo(0,0,0) mv.face(1,0) mv.debug()