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

New maze generators #124

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

New maze generators #124

wants to merge 33 commits into from

Conversation

ur-fault
Copy link
Owner

@ur-fault ur-fault commented Oct 27, 2024

Complete rework of the maze generators, so they are more generic, faster and support regions

Work:

  • Trait for generators of the maze insides
  • Trait for region generator, thing that splits maze into regions
  • General MazeSpec

@ur-fault ur-fault added the app feature New feature or request for the tmaze itself label Oct 27, 2024
- `Registry<T>` is a collection of named algorithms for some purpose. For example region generators.
- `MazeSpec` provides generic way of specifying how should maze should be generated, it support:
    - Pregenerated mazes. Useful for multiplayer, editor, saves
    - Predefined regions, and possibly generated regions themself
    - Just specified splitter and region generator using strings, that's what registries are used for
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app feature New feature or request for the tmaze itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant