Advertisement

Python, PyGame, and Raspberry Pi Game Development

  • Sloan Kelly
Book

Table of contents

  1. Front Matter
    Pages i-xxv
  2. Sloan Kelly
    Pages 1-3
  3. Sloan Kelly
    Pages 5-9
  4. Sloan Kelly
    Pages 11-31
  5. Sloan Kelly
    Pages 33-39
  6. Sloan Kelly
    Pages 41-54
  7. Sloan Kelly
    Pages 55-62
  8. Sloan Kelly
    Pages 63-75
  9. Sloan Kelly
    Pages 77-85
  10. Sloan Kelly
    Pages 87-97
  11. Sloan Kelly
    Pages 99-105
  12. Sloan Kelly
    Pages 107-125
  13. Sloan Kelly
    Pages 127-139
  14. Sloan Kelly
    Pages 141-151
  15. Sloan Kelly
    Pages 153-170
  16. Sloan Kelly
    Pages 171-180
  17. Sloan Kelly
    Pages 181-212
  18. Sloan Kelly
    Pages 213-231
  19. Sloan Kelly
    Pages 233-240
  20. Sloan Kelly
    Pages 241-250
  21. Sloan Kelly
    Pages 251-293
  22. Sloan Kelly
    Pages 295-322
  23. Sloan Kelly
    Pages 323-339
  24. Sloan Kelly
    Pages 341-377
  25. Sloan Kelly
    Pages 379-380
  26. Back Matter
    Pages 381-389

About this book

Introduction

Expand your basic knowledge of Python and use PyGame to create fast-paced video games with great graphics and sounds. This second edition shows how you can integrate electronic components with your games using the build-in general purpose input/output (GPIO) pins and some Python code to create two new games. 

You'll learn about object-oriented programming (OOP) as well as design patterns, such as model-view-controller (MVC) and finite-state machines (FSMs). Whether using Windows, macOS, Linux, or a Raspberry Pi, you can unleash the power of Python and PyGame to create great looking games. 

The book also includes complete code listings and explanations for "Bricks," "Snake," and "Invaders"—three fully working games. These allow you to get started in making your own great games and then modify them or build your own exciting titles. The concepts are further explained using games such as “Copycat,” where the player must concentrate and repeat the sequence of lights, and “Couch Quiz,” in which PyGame and electronic components create a quiz game for 4 players.


Keywords

Raspberry Pi Games Python PyGame game development programming software code

Authors and affiliations

  • Sloan Kelly
    • 1
  1. 1.Niagara FallsCanada

Bibliographic information

Industry Sectors
Electronics
IT & Software
Aerospace