Logo Programming Source
cs to randomwalk repeat 100 [ make "r parseInt(:random*3) if :r==0 [fd 20] if :r==1 [rt 90 fd 20] if :r==2 [lt 90 fd 20] ] end randomwalk
:random returns a float number between 0 (inclusive) and 1.
If you like this idea and update...
Support him and his work as a witness by
Some of his contributions: SteemIt Tools, Bots, APIs and Tutorial Thank you!