Skip to content

A Python command line game which simulate the life of cells

Notifications You must be signed in to change notification settings

nisseenn/Cell-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cell-Game

A Python command line game which simulate the life of cells

In short, the program should keep track of a board of any size, where each field in the board contains a cell. A cell can be alive or dead. The simulation takes place through multiple generations using regular updates, where cells die or live depending on their surroundings.

A screenshot of the game:

cellegae

The new status of a cell is determined by the following rules:

If the cell's current status is "alive":

In fewer than two living neighboring cells, the cell dies (subpopulation).

With two or three living neighbor cells, the cell will live on.

If the cell has more than three living neighboring cells, it will die (overpopulation)

If the cell is "dead":

The cell's status becomes "alive" (reproduction) if it has exactly three
living neighbors.

About

A Python command line game which simulate the life of cells

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages