μ Matrix Life μ

X
<
>

Matrix Life (matrix-life)

This repository implements a Linear Algebra model of the classic Cellular Automaton John Conway's Game of Life in Python, using a variant of the Model-View-Controller design pattern. Different Model classes are provided to implement the algorithm using various Linear Algebra functions from NumPy and SciPy. View-Controller class pairs are provided to output either to the terminal (with curses) or to a graphical interface (with PyGame). These can be selected from the command line via options/arguments to the `main.py` script or alternatively the modules can be imported and assembled interactively from the python interpreter.