.MAZ File Format Specification

A .MAZ File has the following format:

Size
Maze Data

       Size: The size of the maze, counting from 0.  IE, if you have
             started with a maze 15 Xs wide, you have a size 14 maze.
             If you use MAKEDMZ -m to make a template, it sets this for
             you.  The size must be 2 digits; put a 0 in front of
             sizes less than 10.  The range is 02-40, and must be even.

  Maze Data: The maze data block is an array of characters:
               X is a wall
               . is blank space
             See below for an example.

Blank Lines: No blank lines are allowed.

     Spaces: Spaces in the Maze Data area will cause errors.

Sample .MAZ file:

08
XXXXXXXXX
X...X...X
X...X...X
X..XX...X
X.......X
X...XXXXX
X.......X
X...X...X
XXXXXXXXX