2 ms·
Nice. I didn't realize you could parameterize the conditionals so I did this (bumps into walls): while (true) do if(wall ahead) then turn left else
by jbrechtel 14y ago
Nice. I didn't realize you could parameterize the conditionals so I did this (bumps into walls):
while (true) do
if(wall ahead) then
turn left
else
move forward
turn left
if(wall ahead)
turn right