.
This commit is contained in:
parent
3be1dc278d
commit
a60b4dffd9
@ -11,8 +11,8 @@ write("r (S=0,W=1,N=2,E=3):")
|
|||||||
r = read()
|
r = read()
|
||||||
|
|
||||||
print("x: " .. x .. " y: " .. y .. " z: " .. z .. " r: " .. r)
|
print("x: " .. x .. " y: " .. y .. " z: " .. z .. " r: " .. r)
|
||||||
for i=1,5 do
|
for i=1,8 do
|
||||||
rand = math.random(1,4)
|
rand = math.random(3,4)
|
||||||
|
|
||||||
if rand == 1 then
|
if rand == 1 then
|
||||||
write("forward ")
|
write("forward ")
|
||||||
|
Loading…
Reference in New Issue
Block a user