[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Code review for Pygame2 example



Last year, I tried to create a large example game to demonstrate several of Pygame2's features. In retrospect, I should have created lots of independent examples, each demonstrating one function of Pygame2, but I chose instead to show them all at once. Here's the resulting "example": http://pygame2examples.googlecode.com/files/pygame2alien.tar.gz. It's based on the oldalien.py example from the original Pygame, but I tried to abstract the graphics from the rest of the game. The result is a quagmire of poorly-applied design patterns; nevertheless, it runs and shows off several features of Pygame2. Should I try to salvage it by tying it to one graphical skin, or should I ditch it?

--
Evan Kroske
http://welcome2obscurity.blogspot.com/
The personal blog of Evan Kroske,
novice software developer.