Raspberry Pi 3 Cookbook for Python Programmers - Third Edition
by Steven Lawrence Fernandes, Tim Cox
Introduction
Games are often a great way to explore and extend your programming skills, as they present an inherent motivating force to modify and improve your creation, add new features, and create new challenges. They are also great for sharing your ideas with others, even if they aren't interested in programming.
This chapter focuses on using the Tkinter Canvas widget to create and display objects on a screen for the user to interact with. Using these techniques, a wide variety of games and applications can be created, limited only by your own creativity.
We will also take a quick look at using the debugger built into IDLE3, a valuable tool for testing and developing your programs without the need to write extensive test code.
The first ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access