Arrow keys to move. You *CAN* move through walls; try not to do that if you don't want to get lost. Grey tiles are just normal rooms. Purple tiles are rooms which were never generated because no paths led to them, and red tiles are rooms which don't even exist because you went out of bounds.
Silly script to generate a videogame-like maze. This always generates finite mazes (within the range of 16x16; the limit can be changed in the code). There's no minimap script because I was too lazy to write the code to render a smaller room at a given position. Just draw the maze on graph paper yourself :)