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 1, 2016

Jun 25, 2016

Jun 19, 2016


Jun 17, 2016

Jun 12, 2016

Jun 3, 2016

Jun 1, 2016

May 27, 2016

May 21, 2016


May 18, 2016

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