The Invent with Python Blog

Writings from the author of Automate the Boring Stuff.







Fri 25 June 2010

Gorillas.py: A Remake of Gorillas.bas

Posted by Al Sweigart in pygame   

Source code: gorillas.py

An entire generation of people remember the Gorilla.BAS game that came with Qbasic, where gorillas on top of buildings threw exploding bananas at each other. This is a Python remake of that game using the Pygame game engine, and is fairly heavily commented so you can explore the source.

Read more...






Mon 02 November 2009

Lessons Learned from Writing a Technical Book to Teach Programming

Posted by Al Sweigart in python   

From 2008 to 2009, I wrote a book called “Invent Your Own Computer Games with Python” ( http://inventwithpython.com ) which guides young adults and complete beginners through learning how to program in the Python language. I’ve just completed the second edition of the book, which has been an exhausting amount of work. Looking back over it, I realized that it could have been a much less exhausting experience if I had made some simple preparations.

Read more...