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

Add a conways game of life example #37

Merged
merged 8 commits into from
Nov 6, 2019

Conversation

thomcc
Copy link
Contributor

@thomcc thomcc commented Nov 6, 2019

I wanted to write one of these since someone mentioned it in discord, and your lib made it easy to do. Some of this code is snarfed from the other example. It has a bug that I mentioned in discord, but once you resize, the position computation for the mouse is wrong. I don't see a way to correct it in the public API.

examples/conway/main.rs Outdated Show resolved Hide resolved
examples/conway/main.rs Show resolved Hide resolved
examples/conway/main.rs Outdated Show resolved Hide resolved
Copy link
Owner

@parasyte parasyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!

@parasyte parasyte merged commit e0225c1 into parasyte:master Nov 6, 2019
@thomcc thomcc deleted the conway-example branch November 6, 2019 07:19
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

Successfully merging this pull request may close these issues.

2 participants