This commit is contained in:
Julian Brammer 2024-06-21 00:37:08 +02:00
parent 3be1dc278d
commit a60b4dffd9

View File

@ -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 ")