checkboxland
checkboxland copied to clipboard
Make the "Conways Game of Life" demo interactive
Here's the link to the demo: https://www.bryanbraun.com/checkboxland/docs/demos/game-of-life/
Currently, if you pause the game, check some boxes, and then unpause, the newly checked boxes don't affect the game. They are simply overridden by the internal state of the game.
A nice improvement would be to make it interactive. We could do this by pulling the state of the grid from Checkboxland with each iteration (using .getData()), and feeding that into our Conways code.