I started off my selecting the TurtleWorld. This gave me the sandy background. I clicked on turtle and selected new turtle. This created a turtle on the sandy background.
I then opened the editor and programmed the turtle to move 1 step.
I also programmed the turtle to move 4 steps.
I had to click compile and then added more turtles. When I clicked run they turtles move 4 steps.
I can also right click the turtles to get them to select something for the turtles to do. I made them move 20 steps this time.
I also right clicked and made the turtles turn 90 degrees.
This shows the turtle moved 90 degrees.
I clicked compile and then ran the program. The turtles moved and rotated at the same time.
No comments:
Post a Comment