Skip to content

Instantly share code, notes, and snippets.

@vingkan
Created January 10, 2018 18:53
Show Gist options
  • Save vingkan/3642e9c638f638709fa0fcdfdf7fbbc6 to your computer and use it in GitHub Desktop.
Save vingkan/3642e9c638f638709fa0fcdfdf7fbbc6 to your computer and use it in GitHub Desktop.
RoboMimir: Custom Missions Format

RoboMimir: Custom Missions Format

Custom missions for RoboMimir can be configured as text files. See the example below:

# Mission: Crosses
26
_ _ _ * p * _ _ _
_ _ _ p * p _ _ _
_ _ _ * p * _ _ _
* p * * * * * p *
p * p * g * p * p
* p * * * * * p *
_ _ _ * p * _ _ _
_ _ _ p * p _ _ _
_ _ _ ^ p * _ _ _

This map results in this mission.

  • Comments begin with a #. These lines are ignored.
  • The first non-commented line should contain a number. This is the number of points needed to pass the mission.
  • Blank spaces are indicated by asterisks *. The robot can move over these.
  • Traps are indicated by underscores _. The robot cannot move over these.
  • Points are indicated by the letter p. The robot gains 1 point for collecting these.
  • Goals are indicated by the letter g. The robot gains 10 points for collecting these.
  • The initial position and rotation of the robot are indicated with arrows.
  • Forward: ^
  • Right: >
  • Backward: V
  • Left: <
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment