Kara Ryan

Evolution, Adaptation and Extremophiles

Conway's Game of Life (for the command line)



This is a project to create the program Conway's Game of Life using python3. This game is set to a 30x80 grid. The user can select how many generations and which boxes (or individuals) are alive as input on the command line.

The rules are as followed:
  • 'X' represents "on" or alive
  • '-' represents "off" or dead
  • Any “on” cell with fewer than two live neighbors is turned “off”.
  • Any “on” cell with two or three “on” neighbors remains “on”.
  • Any “on” cell with more than three “on” neighbors is turned “off”.
  • Any “off” cell with exactly three live neighbors is turned “on”.
  • A neighbor is any adjacent cell, including those to the East, West, North, South,
  • Northeast, Northwest, Southeast and Southwest of the cell.
Share



Follow this website


You need to create an Owlstown account to follow this website.


Sign up

Already an Owlstown member?

Log in