Skip to content

denizxaytac/Conway-s-game-of-life-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Conway-s-game-of-life-in-python

Game of life, also known as Life, is a cellular automaton devised by Mathematician John Conway. Every cell is marked as either dead or alive. The game only has 3 rules:

  1. Any live cell with two or three live neighbours survives.
  2. Any dead cell with three live neighbours becomes a live cell.
  3. All other live cells die in the next generation. Similarly, all other dead cells stay dead.

Prerequisites

  • Python 3
  • Pygame

Simulation of a 'Acorn' pattern

image1

Running the code

  • Clone GitHub repository
  • Install Pygame: pip install pygame
  • Run: main.py

References

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

About

Python implementation of Conway's Game of life

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages