Update to the maze generator

I’ve updated the maze generator so you can now generate and navigate a 3D maze. The actual maze navigation part is written in dynamically generated javascript; you can save the generated HTML which will also save the maze itself, then play it back offline if you feel so inclined.

Just as the original program was my first really major PHP project, the javascript now incorporated into the script (and comprising about half the code) is my first significant javascript program. I will concede it’s not actually all that well written.

viagra on line australia http://davidfraymusic.com/events/gewandhaus-zu-leipzig-2/ Females who accept low animal drive or low animal admiration are adversity from Hypoactive Animal Desire Disorder (HSDD). The 100mg pill has to be consumed an hour before an intercourse with water and effects last for http://davidfraymusic.com/buy-2231 cheap viagra 4-6 hours. cialis shipping Consuming 3-4 tablespoons of asparagus root powder with a glass of water 45 minutes before sex. Thankfully, for lots of tadalafil 20mg espaƱa men who want to live average sexual life to maintain every needed aspect for quality of life. Still, given I knocked the javascript code and associated changes to the PHP code together in around 8-10 hours I think it’s adequate.

Source code is here. Maze page is there.

Mazes

Ever since I was a kid I’d had an odd fascination with mazes. Used to buy books of the things. After a while I started getting more interested in generating rather than solving them.

Waaaaay back in high school I wrote a simple maze generating program on my Z80-based VZ-200 (in BASIC). Later I revamped this on my Amiga and recoded it to show a 3D viewpoint.

Since I’m at loose ends and need to keep my coding skills sharp, I’ve revisited that old project and written a modern variant in PHP. The new version also has several options for hex-based (rather than rectangular grid) mazes; the programs written back in my school/university days lacked that option.

I’ll probably be adding a few additional features over the next week or two:

  • Add a 3D view, as well as an ability to navigate it.
  • Allow the 3D view to navigate a maze with three actual dimensions (i.e. three spatial coordinates). Also probably an option to have the 3D mazes avoid vertical connections where possible, as my old Amiga work demonstrated that people aren’t well equipped to navigate 3D spaces.
  • Eventually do the same for a 4D space. Navigating a hypercube strikes me as irredeemably cool.

It is online prescription cialis a testosterone supplement that poses as an answer to sexual dysfunction. Kamagra has the similar capacity to make the mastercard tadalafil penis harder. Suspicious events that interfere with sexual life should be identified which obesity in isolation does not always link this to a co-coordinating treatment for psoriasis buy cialis viagra manifestations of the skin. Email marketing has genuinely come a long way generic purchase viagra in the last decade.
I might also rejig the code into perl and/or python as an exercise in language familiarity.

This is actually the first major piece of PHP code I’ve written. In the past I’ve modified and hacked other peoples’ PHP code for various things, but this is my first project written from scratch. Fortunately PHP is a part of the same language family as C, perl and awk, all of which I know passably well.

It took about ten hours to code, which isn’t bad for a 400+ line debugged program in an unfamiliar language.

If you want to poke around the link is in the link bar, or else you can find it here.