Is it possible to simulate an evolution of cells with some rules using only Python? With Conway's Game of Life and the understanding of how cellular automaton work's its possible to see a real and random evolution of a system!
- Numpy
- Scipy
- Matplotlib
Using convolution theory we can optimize this script and decrease your compilation time. I'm using Numpy to create the matrices, Scipy to realize the convolution and Matplotlib to plot the generations. Therefore, you need to install these packages in your machine.
-
Run this in your command line to install numpy:
pip install numpy
-
Run this to install scipy:
pip install scipy
-
And this to install matplotlib:
pip install matplotlib
Now you are ready to enjoy the Game of Life! ⚡