It is some weird way to lay out the maze using tiles, I still have to give it some thought, but the tiles would say, if you are standing on me then you can only press this key or the other, so then you would not even have to think about testing for maze walls.
* you will only be able to touch either 1 or 2 tiles, when you are touching 2 tiles, you can only move in the directions that point to either tile. Example standing on a tile the points up/right and one that points down/left you would only be able to move right or left because Tile A right points to B, and Tile B left points to A. Something like that.
2014/8/1
2014/8/2
2014/8/2
2014/8/2
2014/8/3