Skip to content

Brizzy05/Game_of_Life_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Game_of_Life

This is a python program using Turtle Module which runs Conway's game of life. Life is a cellular automaton or a model which simulates the evolution of cells. Since it is a zero-player game, the initial state of a cell determines its evolution.

How it works?

  • A 2D grid was created, each squares represent a living or dead cell depending on its colour and state.
  • At the start each cells are dead, user must select cells in which he wants to switch to a living state.
  • Press Enter to run the simulation.

Rules

  • 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.

Examples

Screen Shot 2021-12-26 at 11 33 06 PM

Screen Shot 2021-12-26 at 11 33 25 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages