...

/

Solution to Sub-task: Creating a maze

Solution to Sub-task: Creating a maze

The solution to the Sub-task: "Creating a maze" of the project "Maze Solver".

We'll cover the following...

Creating a maze

The task is broken into two parts. Copy arr and assign it to grid property. But if arr was undefined, just assign grid to a randomly generated array. The solution is as follows.

Access this course and 1400+ top-rated courses and projects.