Skip to content

Python graphical implementation of Conway's Game of Life

Notifications You must be signed in to change notification settings

sophie-macmillan/gameoflife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The game of life

A python implementation of Conway's game of life, with an optional graphical display.

To play the game:

def playGame(inputArray, graphics, iterationLimit):

param default
input array Randomly generated board of any size A matrix representing the initial state of the board. If invalid, the board is padded with zeros, and assumes any value > 1 should be alive, and any value < 0 should be dead.
graphics True Determines whether the resulting game should be drawn using turtle. If false game is displayed in terminal.
iterationLimit 250 The iteration limit. Game will end sooner if it enters its final state before the limit.

About

Python graphical implementation of Conway's Game of Life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages