Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extra maze task
Browse files Browse the repository at this point in the history
iHiD committed Jan 29, 2025
1 parent 906da20 commit c4842ef
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions bootcamp_content/projects/maze/exercises/look-around/config.json
Original file line number Diff line number Diff line change
@@ -236,6 +236,37 @@
"error_html": "Your custom can_move() function wasn't used."
}
]
},
{
"slug": "cover-old-ground",
"name": "Cover old ground if you need to",
"setup_functions": [
[
"setupGrid",
[
[
[3, 1, 0, 0, 2, 1, 1, 1, 1],
[0, 1, 0, 1, 0, 1, 1, 1, 1],
[0, 1, 0, 1, 0, 0, 0, 0, 1],
[0, 0, 0, 1, 0, 1, 4, 1, 1],
[0, 1, 4, 1, 0, 1, 4, 1, 1],
[5, 0, 0, 1, 0, 1, 4, 1, 1],
[1, 4, 1, 1, 0, 4, 4, 1, 1],
[1, 4, 4, 4, 0, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1]
]
]
],
["setupDirection", ["down"]],
["setupPosition", [4, 0]]
],
"checks": [
{
"name": "position",
"value": [0, 0],
"error_html": "You didn't reach the end of the maze."
}
]
}
]
}

0 comments on commit c4842ef

Please sign in to comment.