mirror of
https://github.com/swarm-game/swarm.git
synced 2024-09-11 14:46:33 +03:00
robot cardinal direction literals (#1685)
Closes #1679. Split into two commits: 1. Parser and JSON schema changes 2. Update all scenario files (except `chess_horse.yaml`)
This commit is contained in:
parent
b158251a20
commit
eaa5551471
@ -157,7 +157,7 @@ recipes:
|
||||
- [1, "2048"]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
display:
|
||||
attr: robot
|
||||
char: "Ω"
|
||||
|
@ -21,7 +21,7 @@ solution: |
|
||||
}
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
char: 'Ω'
|
||||
attr: robot
|
||||
|
@ -22,7 +22,7 @@ solution: |
|
||||
}
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
char: 'Ω'
|
||||
attr: robot
|
||||
|
@ -29,7 +29,7 @@ solution: |
|
||||
}
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
char: 'Ω'
|
||||
attr: robot
|
||||
|
@ -21,7 +21,7 @@ solution: |
|
||||
run "scenarios/Challenges/Mazes/loopy_maze_sol.sw"
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
char: 'Ω'
|
||||
attr: robot
|
||||
|
@ -81,7 +81,7 @@ robots:
|
||||
- name: base
|
||||
display:
|
||||
attr: mybase
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- blueprint
|
||||
@ -113,7 +113,7 @@ robots:
|
||||
- [20, iron plate]
|
||||
- [4, botkit]
|
||||
- name: queenbee
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
invisible: true
|
||||
|
@ -72,7 +72,7 @@ objectives:
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- branch predictor
|
||||
@ -114,7 +114,7 @@ robots:
|
||||
- [6, welder]
|
||||
- name: opponent
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
char: P
|
||||
attr: pig
|
||||
|
@ -191,7 +191,7 @@ objectives:
|
||||
prerequisite: feed_sheep
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- treads
|
||||
- scanner
|
||||
@ -221,7 +221,7 @@ robots:
|
||||
invisible: false
|
||||
char: '@'
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
inventory:
|
||||
- [4, wool]
|
||||
unwalkable:
|
||||
|
@ -50,7 +50,7 @@ objectives:
|
||||
as r {has "bit (0)"};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
@ -75,7 +75,7 @@ robots:
|
||||
- treads
|
||||
- name: setup
|
||||
system: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: true
|
||||
inventory:
|
||||
|
@ -31,7 +31,7 @@ objectives:
|
||||
as j {run "scenarios/Challenges/Sliding Puzzles/_sliding-puzzle/validate-board.sw"};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
@ -84,7 +84,7 @@ robots:
|
||||
- [25, y-tile-ordinal]
|
||||
- name: maintainer
|
||||
system: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: true
|
||||
attr: 'gold'
|
||||
@ -118,7 +118,7 @@ robots:
|
||||
run "scenarios/Challenges/Sliding Puzzles/_sliding-puzzle/maintainer.sw";
|
||||
- name: setup
|
||||
system: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: true
|
||||
attr: 'iron'
|
||||
|
@ -14,7 +14,7 @@ objectives:
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
display:
|
||||
attr: gold
|
||||
devices:
|
||||
|
@ -14,7 +14,7 @@ objectives:
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
attr: gold
|
||||
devices:
|
||||
|
@ -21,7 +21,7 @@ objectives:
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
attr: gold
|
||||
devices:
|
||||
|
@ -32,7 +32,7 @@ robots:
|
||||
- name: base
|
||||
display:
|
||||
attr: bluish
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- branch predictor
|
||||
- ADT calculator
|
||||
|
@ -57,7 +57,7 @@ attrs:
|
||||
bg: '#000000'
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- antenna
|
||||
|
@ -63,7 +63,7 @@ objectives:
|
||||
anyHasMetBase 1;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- binoculars
|
||||
@ -87,7 +87,7 @@ robots:
|
||||
- welder
|
||||
- name: cw_robot
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: false
|
||||
char: 'X'
|
||||
@ -96,7 +96,7 @@ robots:
|
||||
run "scenarios/Challenges/_blender/patrol-clockwise.sw"
|
||||
- name: cw_robot_down
|
||||
system: true
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
display:
|
||||
invisible: false
|
||||
char: 'X'
|
||||
@ -105,7 +105,7 @@ robots:
|
||||
run "scenarios/Challenges/_blender/patrol-clockwise.sw"
|
||||
- name: ccw_robot
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: false
|
||||
char: 'X'
|
||||
@ -114,7 +114,7 @@ robots:
|
||||
run "scenarios/Challenges/_blender/patrol-counter-clockwise.sw"
|
||||
- name: ccw_robot_down
|
||||
system: true
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
display:
|
||||
invisible: false
|
||||
char: 'X'
|
||||
|
@ -145,7 +145,7 @@ objectives:
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
@ -181,7 +181,7 @@ robots:
|
||||
- [0, jungle]
|
||||
- name: flowercheck
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: true
|
||||
devices:
|
||||
@ -192,7 +192,7 @@ robots:
|
||||
run "scenarios/Challenges/_bridge-building/flower-ring-check.sw"
|
||||
- name: platecheck
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: true
|
||||
solution: |
|
||||
|
@ -10,7 +10,7 @@ robots:
|
||||
char: 'Ω'
|
||||
attr: robot
|
||||
heavy: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- 3D printer
|
||||
- ADT calculator
|
||||
@ -35,7 +35,7 @@ robots:
|
||||
- [1, treads]
|
||||
- name: hauler
|
||||
system: true
|
||||
dir: [-1, 0]
|
||||
dir: west
|
||||
devices:
|
||||
- furnace
|
||||
display:
|
||||
@ -46,7 +46,7 @@ robots:
|
||||
run "scenarios/Challenges/_bucket-brigade/hauler.sw"
|
||||
- name: powerplant
|
||||
system: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: false
|
||||
char: '▒'
|
||||
|
@ -22,7 +22,7 @@ objectives:
|
||||
as base {has "bitcoin"};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: false
|
||||
devices:
|
||||
@ -44,7 +44,7 @@ robots:
|
||||
- treads
|
||||
- name: lockbot
|
||||
system: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: true
|
||||
program: |
|
||||
|
@ -10,7 +10,7 @@ robots:
|
||||
char: 'Ω'
|
||||
attr: robot
|
||||
heavy: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- 3D printer
|
||||
- ADT calculator
|
||||
@ -47,7 +47,7 @@ robots:
|
||||
- [10, calculator]
|
||||
- name: cat
|
||||
system: true
|
||||
dir: [-1, 0]
|
||||
dir: west
|
||||
display:
|
||||
invisible: false
|
||||
char: 'c'
|
||||
|
@ -41,7 +41,7 @@ robots:
|
||||
loc: [-1, 1]
|
||||
display:
|
||||
attr: blue
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- 3D printer
|
||||
@ -77,7 +77,7 @@ robots:
|
||||
- [120, flower]
|
||||
- name: gopher
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
char: 'G'
|
||||
invisible: false
|
||||
|
@ -127,7 +127,7 @@ robots:
|
||||
south: 'n'
|
||||
char: 'U'
|
||||
attr: gold
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- antenna
|
||||
@ -150,7 +150,7 @@ robots:
|
||||
- treads
|
||||
- workbench
|
||||
- name: teleport_monitor
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: true
|
||||
@ -158,7 +158,7 @@ robots:
|
||||
program: |
|
||||
run "scenarios/Challenges/_hackman/teleport_monitor.sw"
|
||||
- name: ghost1
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
@ -167,7 +167,7 @@ robots:
|
||||
program: |
|
||||
run "scenarios/Challenges/_hackman/ghost.sw"
|
||||
- name: ghost2
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
@ -176,7 +176,7 @@ robots:
|
||||
program: |
|
||||
run "scenarios/Challenges/_hackman/ghost.sw"
|
||||
- name: ghost3
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
@ -185,7 +185,7 @@ robots:
|
||||
program: |
|
||||
run "scenarios/Challenges/_hackman/ghost.sw"
|
||||
- name: ghost4
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
@ -194,7 +194,7 @@ robots:
|
||||
program: |
|
||||
run "scenarios/Challenges/_hackman/ghost.sw"
|
||||
- name: fruit_maker
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: true
|
||||
|
@ -20,7 +20,7 @@ solution: |
|
||||
run "scenarios/Challenges/_hanoi/hanoi-solution.sw"
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,-1]
|
||||
dir: south
|
||||
devices:
|
||||
- net
|
||||
- treads
|
||||
|
@ -38,7 +38,7 @@ objectives:
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- branch predictor
|
||||
- treads
|
||||
@ -61,7 +61,7 @@ robots:
|
||||
- [5000, vanilla]
|
||||
- name: customer
|
||||
system: true
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
display:
|
||||
invisible: false
|
||||
attr: 'iron'
|
||||
|
@ -66,7 +66,7 @@ objectives:
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- antenna
|
||||
@ -90,7 +90,7 @@ robots:
|
||||
- workbench
|
||||
- name: judge
|
||||
system: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: true
|
||||
program: |
|
||||
|
@ -25,7 +25,7 @@ objectives:
|
||||
as monitor {has "dizzy"};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- branch predictor
|
||||
- treads
|
||||
@ -44,7 +44,7 @@ robots:
|
||||
- strange loop
|
||||
- name: monitor
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: true
|
||||
inventory:
|
||||
|
@ -33,7 +33,7 @@ objectives:
|
||||
return $ foundT && foundJ && foundI && foundZ && foundQ;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -19,7 +19,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [3,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- treads
|
||||
- logger
|
||||
|
@ -24,7 +24,7 @@ objectives:
|
||||
as base {x <- meet; return $ case x (\_. false) (\_. true)};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- branch predictor
|
||||
- comparator
|
||||
@ -40,7 +40,7 @@ robots:
|
||||
- treads
|
||||
- name: wavebot
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: false
|
||||
attr: 'plant'
|
||||
|
@ -9,7 +9,7 @@ robots:
|
||||
display:
|
||||
char: 'U'
|
||||
attr: wood
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
@ -29,12 +29,12 @@ robots:
|
||||
- boat
|
||||
- name: east_detector
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: true
|
||||
- name: west_detector
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: true
|
||||
objectives:
|
||||
|
@ -204,7 +204,7 @@ robots:
|
||||
- name: base
|
||||
display:
|
||||
attr: flower
|
||||
dir: [-1, 0]
|
||||
dir: west
|
||||
devices:
|
||||
- treads
|
||||
- ADT calculator
|
||||
@ -226,7 +226,7 @@ robots:
|
||||
- [3, ink]
|
||||
- name: lettersetter
|
||||
system: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: true
|
||||
inventory:
|
||||
|
@ -8,7 +8,7 @@ robots:
|
||||
attr: robot
|
||||
char: 'Ω'
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- treads
|
||||
- compass
|
||||
@ -19,7 +19,7 @@ robots:
|
||||
- [1000, rock]
|
||||
- name: cell
|
||||
system: true
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: true
|
||||
inventory:
|
||||
|
@ -16,7 +16,7 @@ objectives:
|
||||
}
|
||||
robots:
|
||||
- name: Horton
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
|
@ -10,7 +10,7 @@ robots:
|
||||
- name: base
|
||||
display:
|
||||
invisible: true
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- logger
|
||||
- hearing aid
|
||||
@ -18,35 +18,35 @@ robots:
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
program: |
|
||||
run "scenarios/Fun/_logo-burst/drone.sw"
|
||||
- name: botUp
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
program: |
|
||||
run "scenarios/Fun/_logo-burst/drone.sw"
|
||||
- name: botLeft
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
dir: [-1, 0]
|
||||
dir: west
|
||||
program: |
|
||||
run "scenarios/Fun/_logo-burst/drone.sw"
|
||||
- name: botDown
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
program: |
|
||||
run "scenarios/Fun/_logo-burst/drone.sw"
|
||||
- name: stoplight
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- lodestone
|
||||
inventory:
|
||||
|
@ -19,7 +19,7 @@ robots:
|
||||
display:
|
||||
char: 'ω'
|
||||
attr: robot
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- treads
|
||||
- 3D printer
|
||||
@ -43,7 +43,7 @@ robots:
|
||||
- [1, treads]
|
||||
- name: gate
|
||||
system: true
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: true
|
||||
inventory:
|
||||
|
@ -10,7 +10,7 @@ objectives:
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
heavy: true
|
||||
display:
|
||||
char: Ω
|
||||
|
@ -10,7 +10,7 @@ objectives:
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
heavy: true
|
||||
display:
|
||||
char: Ω
|
||||
|
@ -10,7 +10,7 @@ objectives:
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
heavy: true
|
||||
display:
|
||||
char: Ω
|
||||
|
@ -17,7 +17,7 @@ solution: |
|
||||
grab;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
|
@ -27,7 +27,7 @@ solution: |
|
||||
forever drill_for_sand
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- dictionary
|
||||
- logger
|
||||
|
@ -5,7 +5,7 @@ description: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [11, 0]
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
known: [flower, bit (0), bit (1)]
|
||||
world:
|
||||
palette:
|
||||
|
@ -5,7 +5,7 @@ description: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [11, 0]
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
known: [tree, flower, bit (0), bit (1)]
|
||||
world:
|
||||
palette:
|
||||
|
@ -5,7 +5,7 @@ description: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [11, 0]
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
known: [water, sand]
|
||||
world:
|
||||
palette:
|
||||
|
@ -22,7 +22,7 @@ solution: |
|
||||
);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
|
@ -11,7 +11,7 @@ solution: |
|
||||
case out return place;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
|
@ -22,7 +22,7 @@ solution: |
|
||||
takeStep "tree";
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,-1]
|
||||
dir: south
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
|
@ -16,7 +16,7 @@ solution: |
|
||||
doN 7 (place "tree"; move)
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
@ -30,7 +30,7 @@ robots:
|
||||
inventory:
|
||||
- [7, "tree"]
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
|
@ -31,7 +31,7 @@ solution: |
|
||||
homeIn item initialDistance;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,-1]
|
||||
dir: south
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
|
@ -32,7 +32,7 @@ solution: |
|
||||
grabFlower
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,-1]
|
||||
dir: south
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
@ -47,21 +47,21 @@ robots:
|
||||
- string
|
||||
- treads
|
||||
- name: bot
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
char: b
|
||||
attr: robot
|
||||
- name: obscuredbot
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
char: o
|
||||
attr: robot
|
||||
- name: invisiblebot
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
invisible: true
|
||||
|
@ -52,7 +52,7 @@ solution: |
|
||||
grab;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
|
@ -19,7 +19,7 @@ solution: |
|
||||
push;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
@ -35,7 +35,7 @@ robots:
|
||||
- treads
|
||||
- dozer blade
|
||||
- name: judge
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
char: j
|
||||
|
@ -13,7 +13,7 @@ solution: |
|
||||
case mr (\_. return ()) (\r. halt r; turn west; move; salvage )
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0,-1]
|
||||
dir: south
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
@ -28,7 +28,7 @@ robots:
|
||||
- ADT calculator
|
||||
- halting oracle
|
||||
- name: infinitebot
|
||||
dir: [0,1]
|
||||
dir: north
|
||||
display:
|
||||
invisible: false
|
||||
devices:
|
||||
|
@ -16,7 +16,7 @@ solution: |
|
||||
doN 3 (move; grab);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
@ -28,7 +28,7 @@ robots:
|
||||
- treads
|
||||
- ADT calculator
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
|
@ -13,7 +13,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- logger
|
||||
- treads
|
||||
|
@ -15,7 +15,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- logger
|
||||
- treads
|
||||
|
@ -12,7 +12,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- logger
|
||||
- treads
|
||||
|
@ -26,7 +26,7 @@ solution: |
|
||||
};
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- treads
|
||||
- grabber
|
||||
@ -36,7 +36,7 @@ robots:
|
||||
- hourglass
|
||||
- branch predictor
|
||||
- name: idler1
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
devices:
|
||||
- dictionary
|
||||
@ -49,7 +49,7 @@ robots:
|
||||
end;
|
||||
go;
|
||||
- name: idler2
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
devices:
|
||||
- dictionary
|
||||
@ -62,7 +62,7 @@ robots:
|
||||
end;
|
||||
go;
|
||||
- name: idler3
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
devices:
|
||||
- dictionary
|
||||
@ -75,7 +75,7 @@ robots:
|
||||
end;
|
||||
go;
|
||||
- name: idler4
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
devices:
|
||||
- dictionary
|
||||
|
@ -40,7 +40,7 @@ solution: |
|
||||
ignite right;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- branch predictor
|
||||
- calculator
|
||||
@ -50,7 +50,7 @@ robots:
|
||||
- treads
|
||||
- torch
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
invisible: true
|
||||
|
@ -6,10 +6,10 @@ creative: true
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0, 0]
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
- name: patroller
|
||||
loc: [5, -4]
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
invisible: false
|
||||
attr: robot
|
||||
|
@ -28,7 +28,7 @@ entities:
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0, 4]
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
known: [tree, flower, sand, bit (0), bit (1)]
|
||||
world:
|
||||
upperleft: [-4, 7]
|
||||
|
@ -34,7 +34,7 @@ entities:
|
||||
properties: [known]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
|
@ -29,7 +29,7 @@ entities:
|
||||
properties: [known]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- branch predictor
|
||||
- calculator
|
||||
@ -41,7 +41,7 @@ robots:
|
||||
- strange loop
|
||||
- treads
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
char: 'J'
|
||||
|
@ -12,7 +12,7 @@ solution: |
|
||||
backup; backup; grab;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- tape drive
|
||||
- grabber
|
||||
|
@ -4,7 +4,7 @@ creative: true
|
||||
description: Demo of system robot construction
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
@ -21,7 +21,7 @@ robots:
|
||||
- grabber
|
||||
- hearing aid
|
||||
- name: sysbot
|
||||
dir: [-1, 0]
|
||||
dir: west
|
||||
system: true
|
||||
display:
|
||||
char: j
|
||||
|
@ -35,7 +35,7 @@ entities:
|
||||
properties: [known]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
@ -50,7 +50,7 @@ robots:
|
||||
- strange loop
|
||||
- treads
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
char: 'J'
|
||||
|
@ -26,7 +26,7 @@ entities:
|
||||
properties: [known]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
|
@ -35,7 +35,7 @@ entities:
|
||||
properties: [known]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
loc:
|
||||
subworld: root
|
||||
loc: [2, 0]
|
||||
@ -54,7 +54,7 @@ robots:
|
||||
- strange loop
|
||||
- treads
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
loc:
|
||||
subworld: underground
|
||||
loc: [4, 0]
|
||||
|
@ -40,7 +40,7 @@ entities:
|
||||
properties: [known]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- antenna
|
||||
@ -56,7 +56,7 @@ robots:
|
||||
- strange loop
|
||||
- treads
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
char: 'J'
|
||||
|
@ -26,7 +26,7 @@ entities:
|
||||
properties: [known]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
loc: [0, 0]
|
||||
devices:
|
||||
- ADT calculator
|
||||
|
@ -32,7 +32,7 @@ entities:
|
||||
properties: [known, portable]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- antenna
|
||||
@ -48,7 +48,7 @@ robots:
|
||||
inventory:
|
||||
- [1, map piece]
|
||||
- name: buddy
|
||||
dir: [-1, 0]
|
||||
dir: west
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
|
@ -25,7 +25,7 @@ entities:
|
||||
capabilities: [ping]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [-1,0]
|
||||
dir: west
|
||||
devices:
|
||||
- calculator
|
||||
- antenna
|
||||
@ -38,7 +38,7 @@ robots:
|
||||
- transponder
|
||||
- welder
|
||||
- name: buddy
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- grabber
|
||||
|
@ -25,7 +25,7 @@ solution: |
|
||||
grab;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
attr: robot
|
||||
devices:
|
||||
|
@ -97,7 +97,7 @@ recipes:
|
||||
- [1, lemonade]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
devices:
|
||||
- ADT calculator
|
||||
- antenna
|
||||
|
@ -139,7 +139,7 @@ recipes:
|
||||
- [1, lemonade]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- ADT calculator
|
||||
|
@ -35,7 +35,7 @@ entities:
|
||||
capabilities: [path]
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
|
@ -18,7 +18,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\x. fst x >= 3);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
|
@ -18,7 +18,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\_. true);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -13,7 +13,7 @@ objectives:
|
||||
return $ case foundGreen (\_. false) (\x. fst x >= 12);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
|
@ -38,7 +38,7 @@ objectives:
|
||||
);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -35,7 +35,7 @@ objectives:
|
||||
);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -15,7 +15,7 @@ objectives:
|
||||
return $ isRight foundBox;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- blueprint
|
||||
|
@ -14,7 +14,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\_. true);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -57,7 +57,7 @@ objectives:
|
||||
return $ isRight foundBox;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- blueprint
|
||||
@ -65,7 +65,7 @@ robots:
|
||||
- logger
|
||||
- treads
|
||||
- name: judge
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
invisible: true
|
||||
|
@ -40,7 +40,7 @@ solution: |
|
||||
place t;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -24,7 +24,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\_. true);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -25,7 +25,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\_. true);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -30,7 +30,7 @@ objectives:
|
||||
return $ isRight foundRed;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- fast grabber
|
||||
- treads
|
||||
|
@ -23,7 +23,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\_. true);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [0, -1]
|
||||
dir: south
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -41,7 +41,7 @@ objectives:
|
||||
return $ isRight foundRed;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- fast grabber
|
||||
- treads
|
||||
|
@ -13,7 +13,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\_. true);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
solution: |
|
||||
noop;
|
||||
structures:
|
||||
|
@ -13,7 +13,7 @@ objectives:
|
||||
return $ case foundStructure (\_. false) (\_. true);
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
devices:
|
||||
- grabber
|
||||
- treads
|
||||
|
@ -58,7 +58,7 @@ solution: |
|
||||
findTarget;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- ADT calculator
|
||||
- branch predictor
|
||||
|
@ -13,7 +13,7 @@ solution: |
|
||||
push;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
display:
|
||||
char: Ω
|
||||
attr: robot
|
||||
@ -29,7 +29,7 @@ robots:
|
||||
- treads
|
||||
- dozer blade
|
||||
- name: judge
|
||||
dir: [0, 1]
|
||||
dir: north
|
||||
system: true
|
||||
display:
|
||||
char: j
|
||||
|
@ -19,9 +19,9 @@ solution: |
|
||||
noop;
|
||||
robots:
|
||||
- name: base
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
- name: queenbee
|
||||
dir: [1, 0]
|
||||
dir: east
|
||||
system: true
|
||||
display:
|
||||
invisible: false
|
||||
|
@ -19,7 +19,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- logger
|
||||
|
@ -19,7 +19,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- logger
|
||||
- 3D printer
|
||||
|
@ -18,7 +18,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- logger
|
||||
|
@ -18,7 +18,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- logger
|
||||
|
@ -16,7 +16,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- logger
|
||||
|
@ -32,7 +32,7 @@ solution: |
|
||||
robots:
|
||||
- name: base
|
||||
loc: [0,0]
|
||||
dir: [1,0]
|
||||
dir: east
|
||||
devices:
|
||||
- 3D printer
|
||||
- logger
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user