Text Maze

This is part of my maze algorithm experiment. I have an interactive version as well which is a full SDL2 application. However, this version is more of a library rather than a full application. This allows me to use JavaScript and HTML to control the maze generation and interaction rather than have SDL handle everything. For rendering, I'm having my library return a string and then I'm putting that string into a <pre> HTML tag. This means the maze is copyable into any program (just make sure to use a monospaced font which supports Unicode pipe and box characters for it to render properly).

Loading...