GameOfLife Project
Project done By Maxence Giraud
python3 GameOfLife/gameoflife.py -i inputfile -o outputfile -s numberofsteps
### Simple example
python3 GameOfLife/gameoflife.py -i breeder.rle -o breader.mp4 -s 300
import GameOfLife as gof
nsteps = 300
grid = gof.load_grid("breader.rle")
movie = gof.compute_movie(grid, 300)
gof.makeMovie(movie, "breader.mp4")
To launch unittest :
python3 -m unittest tests/gof_test.py
This program supports RLE files, to look at the formalism : https://www.conwaylife.com/wiki/Run_Length_Encoded