At the Japanese contest, Peter said there is a closed form solution for the maximum number of walls a legal micromouse maze can have.
His suggestion was to draw out mazes in increasing size and the pattern will emerge. Also, the rules say every post, except the center post, will have at least one wall attached.
The number of walls for an N x N maze with at least one wall is:
4*N + (N-1)^2
The first term is for the outer perimeter and the second one is for at least one wall attached.
You need additional walls if you want spares or want to block off areas. I don’t have a good rule of thumb and am guessing 10% overage is probably not a bad idea.
This Post Has 8 Comments
For a general rectangular maze, of width X and height Y, I believe the solution is this:
For the perimeter, you need 2*(X+Y) walls.
There are P = (X-1)(Y-1) internal posts and (X+1)(Y+1) posts in total.
The smallest number of walls you can have is W = int((P+1)/2).
The largest number of walls you can use for an open maze is W = P.
By an open maze, I mean one where all the cells are have a route to every other cell.
So, for a 16×16 contest maze, you would need 289 posts, 64 walls for the perimeter and between 113 and 225 internal walls to create an open maze.
Any advance on that?
Do you know where to buy them in Europe? Or a cheap place in Asia that can ship to Spain?
These are no longer available.
You can get maze walls in the UK here:
They are not cheap but I don’t know where else they would be available for any less.
Thank you for the link Peter.
We can’t find maze kit on matrix multimedia or active robots. Do you have any idea for finding maze wall and post compatible?
I am sorry. I only know of places in the far East. You would have to commit to ordering several hundred for a good price. If you are looking for a smaller number, you could try RT-Corp:
But they are very expensive.
It will be easier in the end to make your own from 12mm plywood and 12mm hardwood for the posts.
Please post here if you do find anywhere else.
I’m still searching. I have already bought matrix multimedia walls and I would like to find the same maze for have full compatibility. I will post if I find anything…
Could you tell me with material is used for official mazes?