/game-of-life

The Game of Life in the terminal

Primary LanguagePython

The Game of Life

A demo of Game in the terminal.

It looks like this (but in motion):

Gen: 37
______________________________________________________________________
_______________________@@_____________________________________________
_________________________@____________________________________________
____________@@____________@___________________________________________
____________@@____@_______@________@@_________________________________
_________@@_____@@________@________@@_________________________________
_@@_____@@@_____@__@@____@____________________________________________
_@@______@@______@@@@@_@@_____________________________________________
____________@@____@___________________________________________________
____________@@________________________________________________________
______________________________________________________________________
__________________________@___________________________________________
___________________________@__________________________________________
_________________________@@@__________________________________________

Run

Start the demo with:

python3 game_of_life.py

Test

Run the tests with:

pytest -v tests.py