Select Page

Invent Your Own Computer Games with Python, 4th Edition

Invent Your Own Computer Games with Python, 4th Edition

Invent Your Own Computer Games with Python teaches you how to program in the Python language. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the examples. Games include Guess the Number, Hangman, Tic Tac Toe, and Reversi. This book also has an introduction to making games with 2D graphics using the Pygame framework.

Programming isn’t hard, but it is hard to find materials that teach you to do interesting things with programming. Other computer books go over many topics most new coders don’t need. This book will teach you how to program your own games; you’ll learn a useful skill and have fun games to show for it! This book is for:

  • Complete beginners who want to teach themselves programming, even if they have no previous experience.
  • Kids and teenagers who want to learn programming by creating games.
  • Adults and teachers who wish to teach others programming.
  • Anyone, young or old, who wants to learn how to program by learning a professional programming language.

All you’ll need is a computer, some free software called the Python interpreter, and this book. Once you learn how to create the games in this book, you’ll be able to develop games on your own.

BASIC is easy, but newer programming languages like Python are even easier to learn. Python is also used by professional programmers in their work and when programming for fun. Plus it’s totally free to install and use-you’ll just need an internet connection to download it.

Because video games are nothing but computer programs, they are also made up of instructions. The games you’ll create from this book seem simple compared to the games for Xbox, PlayStation, or Nintendo. These games don’t have fancy graphics because they’re meant to teach you coding basics. They’re purposely simple so you can focus on learning to program. Games don’t have to be complicated to be fun!

‘It’s a great introduction to Python and a great introduction to building fairly simple but interesting games. The author’s not just a talented coder, but a Python maestro. And his programming techniques provide good lessons on how to approach programming tasks.’ – Computerworld

‘Games are a great way to engage kids, and Python is a perfect language for them to see immediate results on the screen as they code. Invent Your Own Computer Games with Python should be a hit.’ – GeekDad

Invent Your Own Computer Games with Python, 4th Edition

by Al Sweigart (Online reading only) – 21 Chapters

Invent Your Own Computer Games with Python, 4th Edition by Al Sweigart