A maze generator I keep coming back to. What hooked me as a CS student wasn’t drawing a maze that looks right — it was that the generator guarantees exactly one path between any two points on the board, by construction rather than by checking afterwards. I’ve rebuilt it a few times since, in a few languages, mostly to see the algorithm from a different angle.