Skip to content

Create path from start to finish #3

@Thenlie

Description

@Thenlie

The first step in creating the maze generation function is to create a semi-random path from the start cell to the finish cell.

  • Each cell in the path is colored and given some unique textContent
  • Each cell in the path is touching exactly two other cells in the path (with the exception of the start and finish cells)
  • Works for mazes from size 10 x 10 - 25 x 25
  • Path is pseudo-random (random other than the rules above)

Mockup

image

Metadata

Metadata

Assignees

Labels

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions