Skip to content

umutseven92/GameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Of Life

Simple Conway's Game of Life, written in Python.

To run cd into /src, and do:

python cgl.py

This will create a random layout.

You can also load Life 1.05 files:

python cgl.py PATH_TO_FILE

Some basic patterns are provided in the /maps folder. So for example, to load a pulsar:

python cgl.py ../maps/pulsar_105.lif

Output:

alt text

Dependencies

You need to have pygame installed.

Controls

  • R key to reset
  • P key to pause
  • Right arrow to speed up
  • Left arrow to slow down
  • Esc to quit

About

Simple Conway's Game of Life, written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages