.*.
*..
***
Based on Coding Dojo's Game of Life
- Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
- Any live cell with more than three live neighbours dies, as if by overcrowding.
- Any live cell with two or three live neighbours lives on to the next generation.
- Any dead cell with exactly three live neighbours becomes a live cell.
# Run game
$ python -m game.start
# Run tests
$ python -m tests.start -v
- python 3.x
- pip3
# with anaconda
$ conda env create -f environment.yml # create virtual environment
$ conda activate gol # enter VE
(gol) $ conda deactivate # exit VE