I've made a Connect Four AI in Python with Pygame.
I wanted to share this link to a great site with some simple Pygame examples:
There is also a textbook draft called "Introduction to Computer Science Using Python and Pygame" by Paul Vincent Craven.
"MooseGesture" is a Python module that implements a basic mouse gesture recognition system. It can identify gestures made up of strokes in the eight cardinal and diagonal directions.
Made a new game with Pygame. It's called "Squirrel Eat Squirrel", where you move your squirrel around the screen eating the smaller squirrels and avoiding the larger ones. The more squirrels you eat, the larger you grow.
I have a text version of a Connect Four clone done. The AI for it looks ahead two moves, which makes it fairly impossible to beat unless you concentrate.
I'd just like to announce that "Invent Your Own Computer Games with Python" has just sold its 1000th hard copy since it's gone on sale last May.
Here's a cipher disk that you can print and cutout to help you manually implement the Caesar Cipher. Simply download and printout the PDF and cut out the two circles and place them on top of each other.
I've scoured the web for some decent tutorials for Pygame, one of the best game engines for Python out there. Here's what I've found, ordered by (in my opinion) quality.
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.