We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Reset Visited

We actually need to traverse our grid twice - once to break the walls, then once again when we actually solve the maze (which we'll do in the next lesson).

As such, let's add a method to reset the visited property of all the cells in the maze so we can reuse it when solving the maze.

Assignment

Run and submit the CLI tests.