Home » Game Programming » Python, PyGame, and Raspberry Pi Game Development, 2nd Edition

Python, PyGame, and Raspberry Pi Game Development, 2nd Edition

Python, PyGame, and Raspberry Pi Game Development, 2nd Edition

  • Author : Sloan Kelly
  • Year : 2019
  • Pages : 389
  • File size : 5.9 MB
  • File format : PDF
  • Category : Game Programming, Raspberry

Book Description:

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 sounds, and “Couch Quiz,” in which PyGame and electronic components create a quiz game for 2–4 players.

What You’ll Learn

  • Gain basic knowledge of Python and employ it for game development
  • Study game projects you can use as templates, such as Bricks, Snake, and Invaders
  • Work with user-defined functions, inheritance, composition, and aggregation
  • Implement finite state machines
  • Integrate your game with electronics using the GPIO pins

Who This Book Is For

Experienced coders or game developers new to Python, PyGame and Raspberry Pi would find this book helpful. It is also for beginners interested in getting into game development.

Download eBook


eBooks in the same categorie :

Pro Java 9 Games Development

Download free Pro Java 9 Games Development eBook in PDF

Use Java 9 and JavaFX 9 to write 3D games for the latest consumer electronics devices. Written by open source gaming expert Wallace Jackson, this book

Lua Game Development Cookbook

Download free Lua Game Development Cookbook eBook in PDF

The Lua language allows developers to create everything from simple to advanced applications and to create the games they want. Creating a good game i

Raspberry Pi User Guide

Download free Raspberry Pi User Guide eBook in PDF

Make the most out of the world’s first truly compact computer It’s the size of a credit card, it can be charged like a smartphone, it runs on

Learn Robotics with Raspberry Pi

Download free Learn Robotics with Raspberry Pi eBook in PDF

In Learn Robotics with Raspberry Pi, you’ll learn how to build and code your own robot projects with just the Raspberry Pi microcomputer and a

Developing Games on the Raspberry Pi

Download free Developing Games on the Raspberry Pi eBook in PDF

Learn to set up a Pi-based game development environment, and then develop a game with Lua, a popular scripting language used in major game frameworks