Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the "Conways Game of Life" demo interactive #18

Open
bryanbraun opened this issue Oct 12, 2021 · 0 comments
Open

Make the "Conways Game of Life" demo interactive #18

bryanbraun opened this issue Oct 12, 2021 · 0 comments

Comments

@bryanbraun
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant