Log In  

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


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

P#25791 2016-07-23 19:23 ( Edited 2018-09-12 15:53)

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.

P#25792 2016-07-23 19:37 ( Edited 2016-07-23 23:47)

Entertaining.

P#25810 2016-07-24 06:46 ( Edited 2016-07-24 10:46)

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 ?

P#28664 2016-09-17 12:41 ( Edited 2016-09-17 16:41)
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.

P#56571 2018-09-12 11:53 ( Edited 2018-09-12 15:54)

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

P#76222 2020-05-09 06:26

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 14:13:10 | 0.012s | Q:27