Re:Show HN: Random Roads
by winrid on Sunday June 21, 2020 @12:37PM
(#23593074)
Nice! My first page load I got a single line that stopped at the first point. Is that just able to happen?
[ Parent
| on HN ]
Yes, there's nothing to prevent very small maps like what you saw - even ones that terminate with a dead-end before a road has been drawn (eg. https://random-roads--edwardcunningh2.repl.co/#1592758760947).
I considered adding logic to prevent this, but have decided to embrace it as a feature rather than a bug.
I quite like some of the small-ish maps, like this: https://random-roads--edwardcunningh2.repl.co/#1592759118928