Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KurtGodelFC
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
KurtGodelFC
2y ago
There is an efficient way to generate a random maze! First you create an initial maze, and randomly remove a wall. This generates a loop in your maze. Then in the loop you randomly add one wall, this removes the loop in the maze while keepi