Really neat. There was a maze generation algorithm in BASIC when I was younger that created the maze one row at a time. I couldn't wrap my head around how it was possible to make a maze like that. Searched for it recently and found Eller's algorithm: https://weblog.jamisbuck.org/2010/12/29/maze-generation-elle...
19 comments
[ 2.9 ms ] story [ 48.3 ms ] threadthis doesn't work with gcc 4
> GCC no longer accepts the -fwritable-strings option. Use named character arrays when you need a writable string.
https://gcc.gnu.org/gcc-4.0/changes.html
For gcc, writable strings can be avoided by making the top line one character longer:
https://krazydad.com/mazes/index.php?fmt=EZ
https://www.youtube.com/watch?v=Yf_OPNQA1-4
https://krazydad.com/mazes/index.php?fmt=EZ
https://github.com/will2dye4/labyrinth