mazeparser 0.1.0

A custom format for defining mazes!
Documentation
  • Coverage
  • 0%
    0 out of 27 items documented0 out of 6 items with examples
  • Size
  • Source code size: 11.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 427.4 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • hardliner66/mimosi
    1 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hardliner66

MazeParser

A format for defining mazes and a parser for reading it from text.

Maze Text Format

Key Description
SP Starting Point. Which cell the mouse starts in. Format: x, y
SD Starting Direction. Which direction the mouse should face to start. Can be one of: R, L, U, D
FI Finish. Where the finish should be placed. Format: x,y; size
FR Maze Friction.
.R followed by a number Defines walls in the row with the number after .R
.C followed by a number Defines walls in the column with the number after .C

Lines without : and lines starting with a # are ignored.