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 refinement to cellular automata to make them actual usable mazes #41

Open
sraaphorst opened this issue May 27, 2018 · 2 comments
Open
Labels
enhancement New feature or request optional Optional feature: may not implement thickmaze Part of the ThickMaze sub-library

Comments

@sraaphorst
Copy link
Owner

This deals with issue #23.

After the cellular automata algorithms have run, seldom do they generate usable mazes.

What we should do is determine connected components (using disjoint sets?), and then carve passages between them so that they can actually be mazes. This won't make them perfect spanning trees, but it will help.

@sraaphorst sraaphorst added enhancement New feature or request thickmaze Part of the ThickMaze sub-library optional Optional feature: may not implement labels May 27, 2018
@sraaphorst
Copy link
Owner Author

Rule B2/S123 seems to do exactly this.

@sraaphorst
Copy link
Owner Author

We could still add the refinement, though, which would be useful to ensure connectivity.

@sraaphorst sraaphorst reopened this May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request optional Optional feature: may not implement thickmaze Part of the ThickMaze sub-library
Projects
None yet
Development

No branches or pull requests

1 participant