-
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.
- Loading branch information
Showing
33 changed files
with
254 additions
and
69 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
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
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
53 changes: 53 additions & 0 deletions
53
data/scenarios/Testing/1575-structure-recognizer/1644-rotated-preplacement-recognition.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,53 @@ | ||
version: 1 | ||
name: Rotated pre-placed structure recognition | ||
description: | | ||
Pre-placed structure recognition with rotation | ||
creative: false | ||
objectives: | ||
- teaser: Have structure | ||
goal: | ||
- | | ||
Have a `tee`{=structure} structure | ||
condition: | | ||
foundStructure <- structure "tee" 0; | ||
return $ case foundStructure (\_. false) (\_. true); | ||
robots: | ||
- name: base | ||
dir: [1, 0] | ||
devices: | ||
- grabber | ||
- treads | ||
inventory: | ||
- [4, flower] | ||
solution: | | ||
noop; | ||
structures: | ||
- name: tee | ||
recognize: [north, south, east, west] | ||
description: "A tee pattern of flowers" | ||
structure: | ||
mask: '.' | ||
palette: | ||
'x': [stone, flower] | ||
map: | | ||
.x. | ||
xxx | ||
known: [flower] | ||
world: | ||
name: root | ||
dsl: | | ||
{blank} | ||
palette: | ||
'.': [grass] | ||
'x': [stone, flower] | ||
'B': [grass, null, base] | ||
upperleft: [0, 0] | ||
placements: | ||
- src: tee | ||
offset: [2, 0] | ||
orient: | ||
up: east | ||
map: | | ||
B.... | ||
..... | ||
..... |
51 changes: 51 additions & 0 deletions
51
data/scenarios/Testing/1575-structure-recognizer/1644-rotated-recognition.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,51 @@ | ||
version: 1 | ||
name: Rotated structure recognition | ||
description: | | ||
Structure recognition with rotation | ||
creative: false | ||
objectives: | ||
- teaser: Build structure | ||
goal: | ||
- | | ||
Build a `tee`{=structure} structure | ||
condition: | | ||
foundStructure <- structure "tee" 0; | ||
return $ case foundStructure (\_. false) (\_. true); | ||
robots: | ||
- name: base | ||
dir: [1, 0] | ||
devices: | ||
- grabber | ||
- treads | ||
inventory: | ||
- [4, flower] | ||
solution: | | ||
move; move; | ||
turn right; | ||
move; move; | ||
place "flower"; | ||
structures: | ||
- name: tee | ||
recognize: [north, south, east, west] | ||
description: "A tee pattern of flowers" | ||
structure: | ||
mask: '.' | ||
palette: | ||
'x': [stone, flower] | ||
map: | | ||
.x. | ||
xxx | ||
known: [flower] | ||
world: | ||
name: root | ||
dsl: | | ||
{blank} | ||
palette: | ||
'.': [grass] | ||
'x': [stone, flower] | ||
'B': [grass, null, base] | ||
upperleft: [0, 0] | ||
map: | | ||
B.x.. | ||
..xx. | ||
..... |
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
Oops, something went wrong.