Skip to content

joeycarter/conways-game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

My implementation of Conway's Game of Life using Python and matplotlib for the animation.

Usage

$ ./game-of-life.py [-x <grid-size-x>] [-y <grid-size-y>] [-i <initial-state>] [-s <animation-speed>]

A few initial states are included, which can be specified using the -i option:

  • random: Fill the grid randomly with live and dead cells.
  • rpentomino: The R-pentomino, a well known "methuselah" seed pattern.
  • diehard: The Diehard seed pattern, which disappears after 130 generations.

About

My implementation of Conway's Game of Life using Python and matplotlib for the animation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages