03-15-2023, 04:15 PM
(03-15-2023, 05:49 AM)SMcNeill Wrote: ^ An old hex maze generator which I wrote several years back.
Notice that the game gets consistently harder as you progress, with more walls blocking your path, and I must admit: I didn't bother to have the program check to make certain that you can actually reach the target location. In fact, I freely confess, if you keep playing, you'll eventually get to a stage where you WON'T be able to reach the target -- the non-intelligent randomness of this little demo WILL make it an impossible task eventually.
ESC stops the program.
R will Relocate the target location.
Left/Right allows us to change heading.
Up moves us in the direction we're facing.
Down is a terrible cheat (intentionally left at this point, to allow full map movement), which moves us away from the direction we're facing.
Try it out and see what you think; it's definitely different than most other quad-directional maze-generators which I've seen and played around with in the past.
I got stuck the very first run, except for the backing up through walls with the down key I'd have been doomed.
I like it, definitely a different look than what I'm going for but it does tackle some of the same issues.