Monday, November 30, 2009

Maze Generator

by ThatOtherPerson

A Maze generator & game.

Author's Notes
Use your wiimote dpad to navigate the blue block through randomly generated mazes and try to find your way to the other blue block.

That is pretty much all there is to it. You can optionally watch the maze being created (just hit 1 or 2 at the menu screen and it will slow down the process and render it on screen as its doing it) or you can just get started right away (hit a and it will only take a sec to make the maze and wont present you with it until its done).

I had just read an article about automated Depth-First Search maze creation and thought it seemed interesting so I went about writing up the random maze generator based on it. Everything outside of the random level generator (the graphics, the controls, the actual game play and goal) where all an afterthought made to justify to myself why I had made this. As a result its not really that great of a game. The mazes are really easy to figure out and tend to not really give you enough opportunities to make mistakes. The controls kinda suck just because of how fast you move and how small you and the path ways are on screen.

I’m happy with it though. It didn’t take too long to make and most of the time was actually spent on somewhat unrelated things that will probably come in handy for future homebrew games. I can definitely see myself adapting the maze generator a bit and using it in future games (I just love the idea of randomly/procedurally generated game environments). I really like the look of it. I really like how the title screen and in game background turned out looking and I love how the crisp and simple black maze walls look on it. I think the two blue blocks ruin the aesthetic a bit but it was necessary for the sake of gameplay that they be the way they are.

News Source (1)