Crates.io | mazeparser |
lib.rs | mazeparser |
version | 0.1.0 |
source | src |
created_at | 2024-09-05 03:37:31.801814 |
updated_at | 2024-09-05 03:37:31.801814 |
description | A custom format for defining mazes! |
homepage | |
repository | https://github.com/hardliner66/mimosi |
max_upload_size | |
id | 1364148 |
size | 11,760 |
A format for defining mazes and a parser for reading it from text.
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.