lambda-v/levels/9.json

28 lines
841 B
JSON

{
"field": [
" _________________ ",
"| ######## |",
"| # # |",
"| # # |",
"| #$ # |",
"| # ## |",
"| # |",
"| #########|",
"| |",
" ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ "
],
"start position": [17, 1],
"start heading": "south",
"text": "[Level 9]\n\nOne thing to note is that the code inside a loop always finishes running before\nthe condition is checked again. The simplest solution to this level will run\npast the goal before returning to it as a result of this.",
"allowed commands": [
"step",
"left",
"right",
"while"
],
"allowed conditions": [
"in front of wall",
"goal reached"
]
}