Teach yourself how to program by making computer games!

"Invent Your Own Computer Games with Python" is a free e-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.

"Invent with Python" 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 second edition has revised and expanded content, including using the Pygame library to make games with graphics, animation, and sound.

Quick Download Links

Vote up on StumbleUpon.com Vote for this site on Stumble Upon StumbleUpon.com

Python is the new BASIC

I learned how to program with a book similar to this one when I was 9 years old. That book covered games programming in the BASIC language. Python is a much more modern language that makes programming even easier. At the same time, Python is a serious language that is used by companies and organizations such as Google, NASA, Industrial Light and Magic, and many others.

Unfortunately, BASIC is not nearly as widespread as it once was, so it's hard to find materials for kids to teach themselves programming. There are many software "game creation kits" that are simple to use, but do not teach real programming languages and are limited to making only a few specific types of games. "Invent with Python" is designed to teach real programming in Python. Python has a very gentle learning curve (moreso than BASIC) and has a large online community that contributes to it.

"Invent with Python" is not a book for making professional video games (which require teams of artists and programmers), but rather a book to teach computer programming to non-programmers by making simple (but fun) games.

News and Updates

The book's blog contains news and updates about this book. You can subscribe to the RSS feed to be notified of these updates.

Contact

You can email the author at al@inventwithpython.com. Feel free to send your programming questions or comments.

Other programming guides for kids:

Here are some other free resources to learn programming (in Python and other languages):