Skip to content

rejschaap/pygame-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PyGame of Life

John Conway's famous Game of Life implemented in Python with PyGame.

Run

The only requirement is PyGame, install it with pip.

pip install pygame

Then run it with the following command.

python main.py

Controls

The following controls are available.

  • MOUSE click to activate new cells
  • SPACEBAR pause the simulation
  • N do a single iteration
  • BACKSPACE clear the board
  • 0-9 spawn a number of gliders at random positions
  • ESCAPE or Q to quit

Example

About

PyGame of Life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages