Posted June 07, 2020 by joelq
I added the first game rules. They are:
Each animal is processed sequentially. There is no randomness yet.
The neighbors calculation ended up being a big time-sink. I'd pulled in the jxxcarlson/elm-cell-grid library to help modeling the grid. Unfortunately it contained some bugs in its coordinate logic, causing the neighbors calculations to give wrong results around the edges of the grid. I ended up vendoring a patched file into the project for now.