August 2021
Intermediate to advanced
384 pages
9h 15m
English
Our goal in the next few chapters is to build voice-controlled graphical games such as tic-tac-toe, Connect Four, and guess-the-word. You’ll do all these with the turtle module.
In this chapter, you won’t be working with voice interactivity. Instead you’ll learn the turtle module’s basic commands that will let you set up a turtle screen, draw shapes, and create animations. This functionality will be the basis for all the games you’ll be building.
Before you begin, set up the folder /mpt/ch09/ for this chapter. As always, all scripts in this chapter are available at the book’s resources page, ...
Read now
Unlock full access