lambda-v/levels/7.json

25 lines
863 B
JSON

{
"field": [
" _________________ ",
"| $ |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
"| |",
" ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ "
],
"start position": [ 6, 8],
"start heading": "north",
"text": "[Level 7]\n\nNow in the real world, loops usually don't run a predefined number of times.\nOne type of loops found in most programming languages is the \"while loop\".\nIt runs while a given condition is true. Conditions can be negated by adding !\nin front of them.\nExample: while<!I have cookie>(fix_that)",
"allowed commands": [
"step",
"while"
],
"allowed conditions": [
"in front of wall"
]
}