[HN Gopher] Show HN: Maze Generation Visualization
       ___________________________________________________________________
        
       Show HN: Maze Generation Visualization
        
       Author : pkstn
       Score  : 58 points
       Date   : 2022-07-09 08:04 UTC (14 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | lakomen wrote:
       | That was a-mazing SCNR
        
       | tartoran wrote:
       | For whoever has kids, krazy dad makes some easy to print maze
       | booklets with mazes to be solved. There's a lot of other goodies
       | on that site as well.
       | 
       | https://krazydad.com/mazes/index.php?fmt=EZ
        
       | _the_inflator wrote:
       | I could watch this for hours. :)
        
         | pkstn wrote:
         | Haha, me too :D
        
       | jhallenworld wrote:
       | How about in Atari 800 BASIC with sound...
       | 
       | https://www.youtube.com/watch?v=Yf_OPNQA1-4
        
         | tartoran wrote:
         | This is really cool. Reminds me of my early days dabbling in
         | basic
        
         | pkstn wrote:
         | Haha, a mazing!
        
         | [deleted]
        
       | simon_000666 wrote:
       | this is great, just printed out two for my kids to do, that'll
       | keep them quiet for a bit.
        
         | tartoran wrote:
         | If you want more quiet time from your kids print out some mazes
         | from crazy dad, they have different levels of difficulty and
         | come in bundles.
         | 
         | https://krazydad.com/mazes/index.php?fmt=EZ
        
       | xabi wrote:
       | My three different versions I did long time ago in Perl:
       | https://github.com/xa-bi/mazes
        
         | pkstn wrote:
         | Cool!
        
       | manimino wrote:
       | Here's a Python one, with a UI, cli, and a lovely 3blue1brown
       | visualization in the readme.
       | 
       | https://github.com/will2dye4/labyrinth
        
       | tromp wrote:
       | Or compile
       | char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C);
       | --            E;             J[              E]             =T
       | [E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
       | )    ,   A    =              39              ,C             --
       | )    ;   Z    ||    printf   (M   ))M[Z]=Z[A-(E   =A[J-Z])&&!C
       | &    A   ==             T[                                  A]
       | |6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];}
       | 
       | with -fwritable-strings -Wno-implicit-function-declaration and
       | watch a maze of the input height being generated on the fly.
        
       | johnfarrelldev wrote:
       | If you're into maxes and coding you should check out:
       | http://www.mazesforprogrammers.com/
        
         | loupol wrote:
         | Also the blog from the book author, with visualizations and
         | separate blog posts for several different maze generation
         | algorithms: http://weblog.jamisbuck.org/2011/2/7/maze-
         | generation-algorit...
        
       | mysterydip wrote:
       | 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...
        
       ___________________________________________________________________
       (page generated 2022-07-09 23:01 UTC)