Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
xsebek committed Sep 29, 2024
1 parent 65c6ef6 commit f706f46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions data/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -642,12 +642,10 @@
description:
- A wall
properties: [unwalkable, known, boundary]

# following are "legacy" walls that do not connect automatically,
# but require explicitly plaing each one - this can be used for
# precise control, but in most cases the simple 'wall' is better
# because the 'boundary' updates it to look nice

- name: upper left corner
display:
attr: entity
Expand Down
20 changes: 10 additions & 10 deletions data/scenarios/Tutorials/move.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ objectives:
To complete this challenge, move your robot two spaces to the right, to the coordinates `(2,0)`
marked with the purple `flower`{=entity}.
Note that you can chain commands with semicolon, `;`{=snippet}.
You can open this popup window at any time to remind yourself of the goal using **Ctrl+G**.
Expand All @@ -22,17 +22,17 @@ objectives:
goal:
- |
Good! Now you need to learn how to effectively repeat actions.
Previously you could move twice by chaining the move command:
`move; move`{=snippet}
To reuse that command without having to retype it press the upward arrow on your keyboard.
This will allow you to select previous commands.
Ahead of you is a six steps long corridor. Move to its end, i.e. the coordinates `(8,0)` marked
with the second purple `flower`{=entity}.
You can open this popup window at any time to remind yourself of the goal using **Ctrl+G**.
condition: |
as base {l <- whereami; return (l == (8,0))}
Expand All @@ -43,20 +43,20 @@ objectives:
- |
Well done! In addition to `move`, you can use the `turn` command to turn your robot, for example,
`turn right` or `turn east`.
Switch to the inventory view in the upper left (by clicking on it or typing **Alt+E**) and select
the `treads`{=entity} device to read about the details.
If the bottom-left info panel is not big enough to read the whole thing, you can hit **Enter**
on the `treads`{=entity} device to pop out the description, or you can focus the info panel
(with **Alt+T** or by clicking) and scroll it with arrow keys or **PgUp**/**PgDown**.
When you're done reading, you can come back to the REPL prompt by clicking on it or typing **Alt+R**.
Afterwards, move your robot to the coordinates `(8,4)` in the northeast corner marked with another flower.
Remember, you can chain commands with `;`{=snippet}, for example:
`move; move; move; move`{=snippet}
You can open this popup window at any time to remind yourself of the goal using **Ctrl+G**.
condition: |
as base {l <- whereami; return (l == (8,4))}
Expand Down Expand Up @@ -201,4 +201,4 @@ entities:
invisible: true
description:
- A wall
properties: [boundary]
properties: [boundary]

0 comments on commit f706f46

Please sign in to comment.