packages feed

swarm-0.6.0.0: data/scenarios/Testing/1234-push-command.yaml

version: 1
name: Push test
creative: false
description: Push items as in Sokoban
objectives:
  - goal:
      - Push a crate onto the stone pad
    condition: |
      j <- robotnamed "judge";
      as j {ishere "crate"}
solution: |
  push;
  turn left;
  move;
  turn right;
  move;
  move;
  turn right;
  push;
robots:
  - name: base
    dir: east
    display:
      char: Ω
      attr: robot
    devices:
      - branch predictor
      - calculator
      - compass
      - dictionary
      - grabber
      - logger
      - net
      - scanner
      - treads
      - dozer blade
  - name: judge
    dir: north
    system: true
    display:
      char: j
      attr: robot
      invisible: true
entities:
  - name: crate
    display:
      attr: wood
      char: '▪'
    description:
      - Pushable crate
    properties: [known, pickable, unwalkable]
known: [tree, flower, boulder, water]
world:
  palette:
    'Ω': [grass, null, base]
    'j': [stone, null, judge]
    '.': [grass]
    '@': [grass, boulder]
    'w': [grass, water]
    '*': [grass, flower]
    'x': [grass, crate]
  upperleft: [0, 0]
  map: |
    ..............
    ......w.......
    .....@Ωx.x....
    ......*..j....
    ......*.......