January 2022
Beginner to intermediate
416 pages
10h 21m
English
In this part of the book, we’ll build some sample games using pygwidgets. I’ll also introduce the pyghelpers module, which includes a number of classes and functions that can be useful in building game programs.
Chapter 12 revisits the Higher or Lower game from Chapter 1. We’ll build a version of the game with a graphical user interface, and I’ll introduce Deck and Card classes that can be reused in any card game program.
Chapter 13 focuses on timers. We’ll build a number of different timer classes that allow your program to keep running while concurrently checking for a certain time limit.
Chapter 14 discusses different animation classes you can use to show sequences of images. This will allow you to ...