Skip to content
New issue

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

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

Already on GitHub? # to your account

lib/game: refactor MooreNeighbors function for better readability. #21

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

deadprogram
Copy link
Collaborator

This PR refactors the MooreNeighbors function for better readability. It also provide separate implementation for wrap/non-wrapping neighbors.

Also provide separate implementation for wrap/non-wrapping neighbors.

Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
Signed-off-by: deadprogram <ron@hybridgroup.com>
@acifani acifani merged commit 5876061 into acifani:main Nov 13, 2023
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants