Swipe to navigate through the chapters of this book
Three hands-on computational problems for students are presented. Each problem is related to building an independent project, and is organized around five specific lab programming assignments. The coding examples and problem statements are presented in the Python 2 language, along with the Tk and PIL libraries, but any comparable system for code development could be substituted with minimal additional overhead. Supporting data files, demos, and practice exercises are also available from the book’s companion website. The first problem builds a puzzle game step-by-step. The second problem builds a word-game with an emphasis on how to efficiently identify the solution set. The third problem builds a bubble-popping game involving the control of a beanbag cannon. Concepts, skills, and applications are carefully sequenced for ease of understanding, rapid feedback, and differentiated progression for any level of prior coding experience, including absolute beginners.