
Can you make your turtle walk down a path of your creation?
Using the rules:
to check-color
if (pc-at dx dy) = red [rt 180]
if (pc-at dx dy) = green [lt 90]
if (pc-at dx dy) = blue [rt 90]
end
try building a StarLogo version of the path you drew.
If you'd like to see an example program someone else built for challenge # 3, check out bouncing program. For a look at a more complicated environmental interaction, check out maze. Pay particular attention to the move procedure.
Hint: you can use the paint tools to draw colors on the StarLogo Graphics window.