Log In  


Cart #25790 | 2016-07-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
14


I seem to have gotten myself into a bad habit of programming Picross, Minesweeper, and maze generators when I get bored. lol

14


oops... i forgot the html5 player can't do 60 fps...
EDIT: updated the cart to run in 30 fps
EDIT 2: and now the buttons are being pulled twice... guh...
EDIT 3: slowed down the update method. should fix it.


Entertaining.


Beautiful ! I know David H Ahl from 1967 wrote a maze generator - and he guaranteed only one path through. Is this the case with yours ?


1

I like that it keeps track of the longest path, and uses that as the exit!
It would be cool if this allowed you to solve the maze after creating it, and only generating another maze when it's solved or when the player presses x.


Late replies, but my generator actually uses David H Ahl's algorithm, except mine starts in a random spot anywhere, not just a random spot on the top. And I've already made a game based on the maze generator:

Cart #mazedaze-0 | 2020-05-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3



[Please log in to post a comment]