Is it possible to create a random maze that is solvable and uses a group of cells or single cells that do not depend on the cells around them?
I am using a visual language that uses self contained objects so it’s difficult to tell the other cells/objects what is next to them. I tried using a group of four cells that can only have walls on the right or bottom of the group but it can create areas that are not accessible. The example below has + for the outside border X for walls and 0 for the paths:
0 X 0 X
0 0 X X
A small maze that has paths that are inaccessible
+ + + + + + + 0 X 0 0 + + 0 X X X + + 0 0 0 X + + X X 0 X + + + + + + +
: Phalcon\Cache\Backend\File::save(/home/queryxchang/public_html/apps/frontend/config/../cache/-q-14-138130-solvable-mazes-that-have-contained-cells-): failed to open stream: Disk quota exceeded in /home/queryxchang/public_html/public/index.php on line 37
Cache file /home/queryxchang/public_html/apps/frontend/config/../cache/-q-14-138130-solvable-mazes-that-have-contained-cells- could not be written