Skip to content

[5] Generator: Maze Walls#8

Merged
Thenlie merged 1 commit intomainfrom
5-generator/walls
Jul 31, 2022
Merged

[5] Generator: Maze Walls#8
Thenlie merged 1 commit intomainfrom
5-generator/walls

Conversation

@Thenlie
Copy link
Copy Markdown
Owner

@Thenlie Thenlie commented Jul 31, 2022

Generate random maze walls around path ✅

When the "generate maze" button is clicked, a maze is displayed with walls that increase the complexity of the solution. These walls can not be generated on the path and have a 50% chance of being generated in every other square. In my testing, this seems to be a pretty adequate way to generate walls, albeit simple. This could be expanded on later to ensure more dead ends or complex solutions.

NOTE: The path highlighting is no longer displayed.

Closes #5

Screenshot

image

@Thenlie Thenlie added type: enhancement Additions to existing code priority: medium labels Jul 31, 2022
@Thenlie Thenlie added this to the Maze Generation Component milestone Jul 31, 2022
@Thenlie Thenlie requested review from maxh1231 and phillpeters July 31, 2022 23:11
@Thenlie Thenlie self-assigned this Jul 31, 2022
@Thenlie Thenlie linked an issue Jul 31, 2022 that may be closed by this pull request
4 tasks
@Thenlie Thenlie changed the title [5]Generator: Maze Walls [5] Generator: Maze Walls Jul 31, 2022
@Thenlie
Copy link
Copy Markdown
Owner Author

Thenlie commented Jul 31, 2022

🎉 This completes the Maze Generation Component milestone! ✅

Once approved, if everything looks good, all focus can be put on the pathfinding algorithm and Maze Solving milestone. Work can also be done on the front end to polish things up and make the site more presentable. Issues to come!

Copy link
Copy Markdown
Collaborator

@maxh1231 maxh1231 left a comment

Choose a reason for hiding this comment

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

:)

@Thenlie Thenlie merged commit ff57c62 into main Jul 31, 2022
@Thenlie Thenlie deleted the 5-generator/walls branch July 31, 2022 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Additions to existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Populate maze with walls

2 participants