Maze File Archive

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 individual files have come from many sources and I have no way of tracking their origin. Some are my original work. Many are duplicated on many sites.

Mazefiles-binary (223.7 KiB)

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.


This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply