dolugen / game-of-life

The Game of Life in the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

The Game of Life in the terminal


Languages

Language:Python 100.0%