Skip to content

yekyam/Conway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Conway's Game of Life

This program uses Pygame to simulate Conway's Game of Life.

The rules are simple:

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

Usage

To run, ensure Pygame is installed and run main.py as a python file.


Controls

r - Places cells at random places on the grid

c - Clears the Grid

Left click - Toggles the state of a square to either dead or alive

About

Conway's Game of Life in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages