Skip to content

vinaykudari/Conways-Game-of-Life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conways-Game-of-Life

Python implementation of the game which was created by John Conway. Live cell configuration will be loaded from 'config.json' file. One can change the config according to his wish.

How to play?

python3 start.py

Press l to load from config
Press space to start the game
Press s to pause the game
Press c to clear the board Press q to quit the game

About the game

Game of life is an infinite two dimensional grid of cells, each of which can be in one of two possible states, alive or dead. Every cell has eight neighbours, which are the cells that are horizontally, vertically or diagonally adjacent.

Rules

1.Any live cell with fewer than two live neighbours dies.
2.Any live cell with two or three live neighbours lives on to the next generation.
3.Any live cell with more than three live neighbours dies.
4.Any dead cell with exactly three live neighbours becomes a live cell.

About

Python implementation of the game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages