.
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()
|
||||
|
||||
print("x: " .. x .. " y: " .. y .. " z: " .. z .. " r: " .. r)
|
||||
for i=1,5 do
|
||||
rand = math.random(1,4)
|
||||
for i=1,8 do
|
||||
rand = math.random(3,4)
|
||||
|
||||
if rand == 1 then
|
||||
write("forward ")
|
||||
|
Loading…
Reference in New Issue
Block a user