checkboxland icon indicating copy to clipboard operation
checkboxland copied to clipboard

Make the "Conways Game of Life" demo interactive

Open bryanbraun opened this issue 4 years ago • 0 comments

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.

bryanbraun avatar Oct 12 '21 16:10 bryanbraun