Invent Your Own Computer Games with Python

Sponsor Advertisement

  • Author: Al Sweigart
  • Format: online HTML
  • Price: free (printed edition available on Amazon)

Invent Your Own Computer Games with Python is a free book that teaches you how to program in the Python programming language. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the example. Games include Guess the Number, Hangman, Tic Tac Toe, and Reversi.

It was written to be understandable by kids as young as 10 to 12 years old, although it is great for anyone of any age who has never programmed before.

This fourth edition has revised and expanded content, including using the Pygame library to make 2D games with graphics, animation, and sound.

Chapters include:

  • Introduction
  • Chapter 1 – The Interactive Shell
  • Chapter 2 – Writing Programs
  • Chapter 3 – Guess the Number
  • Chapter 4 – A Joke-Telling Program
  • Chapter 5 – Dragon Realm
  • Chapter 6 – Using the Debugger
  • Chapter 7 – Designing Hangman with Flowcharts
  • Chapter 8 – Writing the Hangman Code
  • Chapter 9 – Extending Hangman
  • Chapter 10 – Tic-Tac-Toe
  • Chapter 11 – The Bagels Deduction Game
  • Chapter 12 – The Cartesian Coordinate System
  • Chapter 13 – Sonar Treasure Hunt
  • Chapter 14 – Caesar Cipher
  • Chapter 15 – The Reversegam Game
  • Chapter 16 – Reversegam AI Simulation
  • Chapter 17 – Creating Graphics
  • Chapter 18 – Animating Graphics
  • Chapter 19 – Collision Detection
  • Chapter 20 – Using Sounds And Images
  • Chapter 21 – A Dodger Game with Sounds and Images

Read: Invent Your Own Computer Games with Python

Buy print edition

Leave a Reply

Your email address will not be published. Required fields are marked *