4
Create a program that can create a randomly arranged maze (The path of the maze changes each time) with exactly 1 exit and one enterance and a minimum size of 8x4 and max size of 32x32, with the exact dimensions x and y as input
Submissions can be original code, but to score higher add onto a submission with another language (polyglot)
Writing code in labyrinth gives brownie points as suggested by Mistah Figgins :)
Example Case (8x4):
__ _____
| | | __ |
|_____| |
| | _| |
|____| |
Non-Examples:
__
|_|
Too Small
__ _____
| | | __ |
|___|_| |
| | _| |
|____| |
No Solution
Apologies if challenge is confusing or cumbersome, this is my first PCG and after reading up on the meta I still had some blurry regions.
Could you elaborate on what
– MildlyMilquetoast – 2016-12-15T03:33:22.283within the same function(s)/file(s)
means? Also, we need an answer in Labyrinth8
You should have posted on the Sandbox first, to have gotten feedback.
– Pavel – 2016-12-15T03:33:34.663@Pavel Will fix right now, thank you! I guess I got too caught up in the theatrics – GracefulLemming – 2016-12-15T03:33:49.217
Can you provide an example valid labyrinth? – Pavel – 2016-12-15T03:49:00.403
1randomly What does that mean? Someone can have two possible labyrinths and randomly choose among those two. On the other extreme, you may require that all possible labyrinths are produced with the same probability, or at least with nonzero probability. What's the spec here? – Luis Mendo – 2016-12-15T10:15:06.977
What exactly is the bonus for polyglotness? – Rɪᴋᴇʀ – 2016-12-15T22:13:44.610