pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Conway's Game of Life

Conway's Game of Life - 0.1

Jp Armstrong (jpp)

Tags:

Description

A zero-player game first developed by John Conway in 1970. The version I present to you was developed using Python. Never having programmed in Python before I felt this game would be a fun and challenging way of learning it.

There are four rules the game follows:
Any live cell with fewer than two live neighbours dies, as if by loneliness.
Any live cell with more than three live neighbours dies, as if by overcrowding.
Any live cell with two or three live neighbours lives, unchanged, to the next generation.
Any dead cell with exactly three live neighbours comes to life.

HOW TO PLAY:
Drag your cursor to draw on the screen
Hit the return key to start the evolution
If you like random gliders hit 'r'
if you want to turn off/on the background hit 'b'

Links

Home Page: https://github.com/armstron/gameoflife
Source: https://github.com/armstron/gameoflife

Screenshot


click to view original size

Releases

Conway's Game of Life - 0.1 - Aug 15, 2008

Pygame.org account Comments

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

August 16, 2008 2:23pm - Teb Toddy - nickname: (steelo) - 5/5
this is very cool :) sadly all my life-forms vanished after quiet a short time, maybe i didnt do it the right way. would be awesome to be able to save the maps one has drawn to replay it when you have a good one. also a restart option would be appreciated so you dont have to close and open all the time ;) and nothing happened when i pressed "b"... but really i enjoyed this a lot, please make a version with 1 pixel size and this will make some nice background animation for all kinds of stuff :)
spotlight

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

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 10, 2014

Jul 9, 2014

Jun 27, 2014



Jun 24, 2014

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