May 2018
Intermediate to advanced
256 pages
6h 20m
English

Now that our turtles can talk, let’s make them walk. Or even better, let’s make them dance! Although turtles come with a program called dance, it’s a simple program that only makes the turtles turn randomly. In this chapter, you’ll create a much better turtle dancing program. The steps will look like Figure 4-1.

Figure 4-1: The turtle’s dance steps
Using the text editor, create a program named mydance by entering edit mydance in the command shell. In the text editor, enter the following lines ...
Read now
Unlock full access