Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+14 votes
asked in CSC 150 January201920 by (8 points)

3 Answers

+9 votes

Well, you can do:

RIGHT RANDOM 360

to get them all facing in random directions, and then do:

FORWARD 1

Or were you wanting something different?

(Of course, if you use CRT instead of CRO to create your turtles, then they start off pointing in random directions...)

answered by (302 points)
+1 vote

You could do create-turtles which will put them facing different direction and if you want them in random places, you can do setxy random-xcor random-ycor

answered by (8 points)
+1 vote

Set random origin position: setxy random-xcor random-ycor
Go random position: fd random 10
tilt-down random 90
tilt-up random 90
roll-left random 90
roll-right random 90

answered by (8 points)
...