October 2019
Beginner to intermediate
498 pages
14h 13m
English
By now, you should have a good understanding of event-driven programming using the turtle module. We will finish this chapter by pulling everything together to create a simple video game—our own version of the old Space Invaders game, in which aliens appear in the sky and you must shoot them with a laser cannon before they reach the ground. In our game, however, drones will appear in the sky rather than aliens.
FIGURE 13.4 shows a screenshot of the game in action. In the figure, notice the three main objects that we will implement to develop our video game. At the bottom center of the window is the laser cannon, which is the usual turtle triangle. The drones are the enemies, and the small circles are the bombs ...
Read now
Unlock full access