Maze File Archive

By | October 9, 2016

Over the years, I have collected a good number of micromouse mazes. Some of these are from previous contests, some are just odd test mazes. All are for the 16×16 classic micromouse contest and all are, as far as I know, legitimate mazes with a valid start cell and goal area. Here is a link to the archives collection.

I took the opportunity to clean up my maze file archive and I have about 380 mazes. There are a small number of duplicates because contests will occasionally re-use mazes for other contests.

Binary Maze Files

This is the maze file format I use and that is commonly used elsewhere. Note that it is far from the only way to do this and other formats may appear to be similar at first glance so check carefully.

The format of each file is exactly 256 bytes of data. Each byte uses the four least significant bits to represent the walls in that cell.

Using the binary bit value for each wall position, we have:

The start cell always has walls to the East, South and West with no wall to the North. Thus, the only valid value to be found in the first byte of a binary maze file is 0x0E

The first byte is the start cell and would be bottom left as you look at the maze. North is then up and East is right.

The second byte is the cell immediately to the North of the start cell and subsequent bytes work their way up the first column.

The sixteenth byte represents the cell immediately to the East of the start cell. It must at least have walls to the West and South.

Note that each byte stores all the walls for that cell. These should be consistent and all internal walls will be stored twice. This is redundant but can be used as a consistency check on the maze data. If a wall is not present in both the cells that share it, the data is invalid.


The archive

I have collected all 384 mazes into one zip file that you can download. the files I have into a single archive on github. The individual files have come from many sources and I have no way of tracking their origin. Some are my original work. Some are converted from images found on the New Technology Foundation web site. Many are duplicated on many sites.

The github repository is here:

All these mazes are in text format so that they can more easily be viewed and edited. I also have software that can convert from one format to another:

Maze tool:

The maze filenames often, but not always give a clue about when and where the maze was used in a contest.

Please let me know if you have any problems with the archive or any of the mazes.


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.