The explanation blog can be found here: https://chopikus.github.io/game-of-life-explanation/
demo.mp4
- Download any pattern in .rle format. A few examples are here.
- Open https://chopikus.github.io/game-of-life/, choose any .rle pattern.
- Enjoy your pattern simulation!
- Install emsdk.
- Before cloning the respository make sure
git lfs
is installed to properly pull the examples. - Clone a repository.
mkdir build; cd build
-- createbuild
folder and go to it.emcmake cmake ..
;make
-- builds C++ backend;make test
-- tests C++ backend;cd ../front
.- Run local server from the current folder. Example:
basic-http-server .
This implementation is largely inspired from this amazing explanation made by johnhw!
cpp-lru-cache is used in this implementation (Copyright (c) 2014, lamerman)