Hi! Welcome to the first email of this project. I’m so glad you’re here.
I should first start with *why* I’m doing this.
As a long-time web developer I can sit down at a computer and build a perfectly fine web app in well under an hour. I’ve built so many apps over the years (25? eesh) that I think I’m pretty good at it. It wouldn’t look that great, but if you wanted to stuff things into a database, twist them around, and output them on a page, it’s a snap.
I think it would be much more interesting if I could do that with a game.
That first maze over on dungeon.cc that you used to signup was my first attempt. The algorithm is the easiest (binary tree) to learn and the method by which I’m chaining the cells together was an idea I saw in a book.
This second one https://dungeon.cc/game2.html was fun because I had a chance to rewrite everything and improve things a bit. I also had a chance to write a much more interesting maze algorithm called Prim’s Algorithm.
I’m so proud of it so I chose to have it draw itself on load. Refresh! It’s neat!
The first time I implemented it there was a bug where it was biased toward selecting only north/south paths, so the maze looked like a very confusing parking lot or some kind of demented game of tennis.
Because of that I started with teal for the background and then started thinking about how when I was a kid C64 games would use rich colors like purple and blue so I added those too.
For those of us who learned HTML in the 90s by typing in a text editor and refreshing a browser over and over again: making these feels a lot like that.
Let’s find out!
P.S., originally I thought I’d get ahead and release games a week after they’re done so I’d always have something ready to go in case I didn’t find time one week, but before I could find time to send this out I’d already made another maze. Here is a BONUS maze: https://dungeon.cc/game3.html where it’s your job to find four pieces of gold. Have fun!