News for hackers. Stuff that matters.
Re:Ask HN: What is the most beautiful piece of code you've e... by zmix on Monday October 28, 2019 @12:57AM (#21374389)
Wow! This is really cool. I just entered it quickly in a C64 emulator and it ran, creating a maze. Not sure, whether it would be a solvable one, but it is interesting to note, that the paths are really connected!
Re:Ask HN: What is the most beautiful piece of code you've e... by tasuki on Monday October 28, 2019 @03:37AM (#21374986)
> the paths are really connected!

What do you mean by that?

Re:Ask HN: What is the most beautiful piece of code you've e... by zmix on Monday October 28, 2019 @12:26PM (#21378398)
The paths make sense. I.e. you got uninterrupted lines, surrounded by walls, so it is a real maze and not just a lookalike or partial maze. Oh, and it's a-maze-ing! :-)
Re:Ask HN: What is the most beautiful piece of code you've e... by tasuki on Tuesday October 29, 2019 @05:31AM (#21385355)
I'm still not sure what you mean. It just prints / and \ randomly. What is a maze lookalike and partial maze? Would you mind sharing any examples?