-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into kostmo/containers-bump
- Loading branch information
Showing
10 changed files
with
127 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
data/scenarios/Testing/144-subworlds/teleport-and-query.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
version: 1 | ||
name: Subworld teleportation | ||
description: | | ||
Surface and underground with portals. | ||
objectives: | ||
- goal: | ||
- | | ||
System robot must teleport the base to another subworld. | ||
The goal condition utilizes location query command. | ||
condition: | | ||
as base { | ||
myloc <- locateme; | ||
return $ fst myloc == "underground"; | ||
} | ||
solution: | | ||
noop | ||
robots: | ||
- name: base | ||
dir: east | ||
devices: | ||
- ADT calculator | ||
- branch predictor | ||
- comparator | ||
- compass | ||
- dictionary | ||
- GPS receiver | ||
- grabber | ||
- lambda | ||
- lodestone | ||
- logger | ||
- strange loop | ||
- treads | ||
- name: judge | ||
dir: east | ||
system: true | ||
display: | ||
char: 'J' | ||
invisible: true | ||
program: | | ||
wait 10; | ||
warp base ("underground", (0, 0)); | ||
known: [flower, boulder] | ||
subworlds: | ||
- name: underground | ||
default: [blank] | ||
palette: | ||
'.': [dirt] | ||
'f': [dirt, flower] | ||
'b': [dirt, boulder] | ||
upperleft: [-1, 1] | ||
map: | | ||
b..b..b..b | ||
....f..... | ||
b..b..b..b | ||
world: | ||
name: root | ||
default: [blank] | ||
palette: | ||
'.': [grass] | ||
'B': [grass, null, base] | ||
't': [ice, null, judge] | ||
upperleft: [-1, 1] | ||
map: | | ||
.......... | ||
...Bt..... | ||
.......... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters