My 2007 entry for the PyWeek game challenge.