This is Game of life implemented in Clojure, using the Polylith architecture, and rendered by Quil.
The program simply animates a glider:
- git (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- clojure (https://clojure.org/guides/install_clojure)
$ git clone [email protected]:tengstrand/game-of-life.git
$ cd game-of-life
$ clojure -M:quil
If you want to experiment with the poly tool, start a poly shell:
$ clojure -M:poly
And then type info :loc
:
As you can see, the number of lines of code is 170 + 160 lines of test code.
The poly tool documentation can be found here.
The list of available commands can be shown by typing help
from the poly shell.