

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
Back
ctrl+,
Next
ctrl+.
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.
Run and submit the CLI tests.
The Boot.dev CLI requires you to be signed in to submit your solution!
Copy/paste one of the following commands into your terminal:
Run
bootdev run 4eac6dbf-8944-4d7a-bf4c-c35692b72ad7
Submit
bootdev run 4eac6dbf-8944-4d7a-bf4c-c35692b72ad7 -s
To run and submit the tests for this lesson, you must have an active Boot.dev membership
Become a member to view solution
Using the Bootdev CLI
The Bootdev CLI is the only way to submit your solution for this type of lesson. We need to be able to run commands in your environment to verify your solution.
You can install it here. It's a Go program hosted on GitHub, so you'll need Go installed as well. Instructions are on the GitHub page.