5 ms·
No, it does not generate a maze. It generates a random sequence of \s and /s, that can trigger a maze being generated in a typical user's mind. This is the art
by codecritic 7y ago
No, it does not generate a maze. It generates a random sequence of \s and /s, that can trigger a maze being generated in a typical user's mind.
This is the art of illusion.
- henkslaaf 7y agoWhat is a maze? One could argue that if the user perceives a maze, then it produces a maze.
- ljm 7y agoNever expected to find myself on the path to enlightenment after reading a line of BASIC.
- lmilcin 7y agoMaze has a starting point and a goal. The goal must be reachable from the start.
- Intermernet 7y agoOnly if you want to give the occupant of the maze a chance to escape :-)
- wincy 7y agoSo this would be more of a labyrinth than a maze?
- cyphar 7y agoNo, a labarynth is a single twisting route without branches. A maze has branches and thus can have dead-ends. Both must have an entry and exit point (technically mazes may have more than one exit and entry, but most don't).
- jedberg 7y ago> a labarynth is a single twisting route without branches. A maze has branches and thus can have dead-ends. I was today years old when I learned this.
- Someone 7y agoThat’s open for debate. https://en.wikipedia.org/wiki/Labyrinth https://en.wikipedia.org/wiki/Labyrinth: ”Although early Cretan coins occasionally exhibit branching (multicursal) patterns […] both logic and literary descriptions make it clear that the Minotaur was trapped in a complex branching maze […] In English, the term labyrinth is generally synonymous with maze. As a result of the long history of unicursal representation of the mythological Labyrinth, however, many contemporary scholars and enthusiasts observe a distinction between the two.”
- tenebrisalietum 7y ago> One could argue that if the user perceives a X, then it produces a X. This can be stretched to turn anything into anything else. For example, why can't this comment be a maze? In that case 10 REM; 20 END is my even shorter, more elegant maze program because I see a maze in it. Some constraints that are typically implied when people say "computer generated mazes": - They are solvable (have a start and end) - OR they loop endlessly with no dead ends. - Walls and spaces consume 1 element on the grid. - No space on the grid is surrounded by all 4 NWSE walls.
- wruza 7y agoSo boring.
- maxerickson 7y agoThe idea that words used in specific contexts can't have clear meanings is the more tedious thing.
- alanbernstein 7y agoI believe your third criterion is actually met by this generator. The grid is just tilted 45 degrees.
- coldtea 7y ago>>One could argue that if the user perceives a X, then it produces a X. >This can be stretched to turn anything into anything else. For example, why can't this comment be a maze? Because unlike the one-liner nobody perceives it as a maze, so the "this can be stretched to turn anything into anything else" argument is tenuous...
- mygo 7y ago> This can be stretched to turn anything into anything else. For example, why can't this comment be a maze? Name one person who perceives your comment as a maze. It must be perceived as a maze by people for it to apply. As it stands, I’m not sure if people perceive your comment as a maze. Maybe theoretically there’s a nonzero number of people who perceive the comment as a maze. But unless your audience is those few people, there wouldn’t be much utility in it. In the OP’s example this maze perception is not only highly widespread but it’s also leveraged for a particular intended effect.
- misterman0 7y agoJeopardy this: Only then can you realize, there is no maze.
- tromp 7y agoI perceive a maze in http://tromp.github.io/pearls.html#maze http://tromp.github.io/pearls.html#maze
- rebuilder 7y agoIs the user then not amazed?
- zaarn 7y agoA maze does not have to be solvable.
- misterman0 7y agoAh, you mean a Unsolvable Maze: https://www.sickchirpse.com/janitor-creates-completely-unsolvable-maze/ https://www.sickchirpse.com/janitor-creates-completely-unsol...
- deleted 7y ago[deleted]
- mojuba 7y agoEverything is an illusion. \s and /s are just liquid crystal pixels on the screen, filtering some light. However it's easier to say that if something has a name and you can identify it, then it's probably that thing. I see a maze it means it's a maze :)
- coldtea 7y ago>I see a maze it means it's a maze :) I'd suggest to not go bar-hopping in Thailand with that mindset...
- Zhyl 7y agoNice to see a bit of casual transphobia on hackernews.
- coldtea 7y agoNice to see confusing a joke reference to a regional fact (as to things that can seem X but be Y) with transphobia. Anybody told you that merely referencing trans women in Thailand is opposing them? Projecting much?
- Zhyl 7y agoI'm amazed that you're defending that comment.
- coldtea 7y agoWell, I am amazed that one can be so rude. First, you come blazing with accusations of transphobia, because of a joking mention of Thailand's ladyboy scene, to challenge the parents' notion that everything is WYSIWYG. Do you even know me? Or you have a hobby of randomly assuming things about people you don't know? Second, when I don't take that quietly, you add the above comment about having the gal to defend myself, going for the "This animal is extremely vicious. When attacked, it defends itself" angle... Perhaps you can go even lower against some stranger on the internet, but you wont be getting any replies from me in this thread.