Invent Your Own Computer Games with Python, Book 1

Download the entire book as a PDF.

You can also download the source code or the executable versions of the games (these do not require Python to be installed.)

Read it on the web:

  • Cover
  • Copyright Page
  • Dedication
  • Preface
  • Who is this book for?
  • Contributor Page
  • Table of Contents
  • Chapter 1 - Introduction
  • Chapter 2 - "Hello World!" - Your First Program
  • Chapter 3 - Guess the Number
  • Chapter 4 - Jokes
  • Chapter 5 - Dragon World
  • Chapter 6 - Hangman
  • Chapter 7 - Tic Tac Toe
  • Chapter 8 - Bagels
  • Chapter 9 - Sonar
  • Chapter 10 - Caesar Cipher
  • Chapter 11 - Othello
  • Chapter 12 - AI Simulation
  • Glossary
  • About the Author
  • Back Cover
  • Leave a comment on the blog page for this book.

    Subversion Repository

    IYOCGwP is also available via a Subversion repository:

    http://pythonbook.coffeeghost.net/book1svn

    Version 2 is the latest version of the PDF book. The website and subversion repository will always have the absolute latest versions of the book.

    Version 2 does not have a working Table of Contents, proper layout, or page numbers. These will be added later. (The PDF is just a PDF version of the web pages, and not intended to be printed out as a bound book yet.)

    IYOCGwP is free to copy and distribute under a Creative Commons license.

    Check on the book's progress and news.

    Copyright 2008 © by Albert Sweigart
    "Invent Your Own Computer Games with Python" is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.