pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Game of Death

Game of Death - 1.0

Daniel Gabriele (publius)

Tags:

Description

The name of the game follows from life's natural complementarity with death. No, it doesn't mean anything morose -- not unless you consider cellular automata morose -- in that case, you are a strange person. #### By the way, I tried to structure the code clearly and concisely for anyone who's interested. #### #### Rules #### CLICK, HOLD, MOVE LEFT MOUSE BUTTON TO SEED CELLS # (LEFT/RIGHT) decrease/increase update speed (default: max) # (DOWN/UP) decrease/increase alpha channel (transparency) # (C) clear the ashes of cells that have died # (R) toggle random colors # (H) for help # (Q) to quit #### To Run the Game #### Linux: $python life.py # Windows: err... ummm... click on it!

Links

Home Page: http://plaza.ufl.edu/publius/
Source: http://plaza.ufl.edu/publius/life.tar

Screenshot


click to view original size

Releases

Game of Death - 1.0 - Jun 8, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

June 8, 2009 11:21am - Robin Wellner - nickname: (gyvox)
Replacing the product with ((x,y) for x in range(-1, 2) for y in range(-1,2)) works.
June 8, 2009 10:21am - Daniel Gabriele - nickname: (publius)
Yes, Python 2.6 is needed. Perhaps later tonight I'll include a 2.5 version that uses a regular list comprehension rather than itertool's cartesian product.
June 8, 2009 9:24am - hideto - nickname: (hide)
Look like python 2.6 needed cause you use "itertools.product".
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 28, 2014

Oct 21, 2014

Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)