HN Hall of Fame Weekly email

Maze Algorithms (2017)

www.jamisbuck.org Tools, games & demos Interactive tools & demos Computer science Candidate
Screenshot of www.jamisbuck.org captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
6
submitters
5
observed span
2011–2026
peak thread · 38 comments
183 pts
latest 20+ return · 2026-01-23
183 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

A maze generator in the shape of a maze whose corridors spell a 4-letter word: 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,"_.":" |"];} Generates a maze on the fly after entering the desired height of the maze. This compiled fine back in 1988 when I submitted it to the IOCCC (having rediscovered Eller's…

tromp·183-point thread·

I got interested in mazes late last year and found Mr. Buck's resources invaluable. In fact, I received his book for Christmas. I highly recommend it, definitely worth the paperback purchase to support his work. I implemented several of the algorithms for my Rust maze generation tools (https://github.com/animate-object/mazes, https://github.com/animate-object/maze-cli), (and the game I built on top of them https://github.com/animate-object/followed)

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
315

reference only — not used in Hall rules or ranking

Total comments
60

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2011-12-28Nice demo of maze creation algorithms in JavaScriptsmharris6580
2016-09-02Maze Algorithms (with step by step visualization)LoSboccacc30
2018-01-03Maze Algorithmsohjeez30
2019-02-03Maze Algorithms (2011)Timothee20
2020-06-05Maze Algorithms (2011)First breakoutTimothee11622
2026-01-23Maze Algorithms (2017)Best thread · Latest 20+ point returnsurprisetalk18338