16 Create games with pygame

Image

What you will learn

Writing games is great fun. Unlike “proper” programs, games are not always tied to a formal specification and don’t need to do anything useful. They just must be fun to play. Games are a great place to experiment with your software. You can write code just to see what happens when it runs, and see whether the result is interesting. Everyone should write at least one computer game in their lives. In this chapter, you’ll start creating games. You’ll learn how to make a complete game and finish with a framework you can use to create more games of your own design.

Getting started with pygame

Draw images ...

Get Begin to Code with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.