Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+15 votes
asked in CSC 150 January201920 by (1 point)

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 (508 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 (1 point)
+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 (1 point)
...