Hex_Maze
#9
(03-15-2023, 05:49 AM)SMcNeill Wrote: ^ An old hex maze generator which I wrote several years back.  Wink

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.  Smile

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.
Reply


Messages In This Thread
Hex_Maze - by James D Jarvis - 03-14-2023, 04:25 AM
RE: Hex_Maze - by bplus - 03-14-2023, 02:54 PM
RE: Hex_Maze - by mnrvovrfc - 03-14-2023, 10:07 PM
RE: Hex_Maze - by James D Jarvis - 03-15-2023, 04:09 PM
RE: Hex_Maze - by johannhowitzer - 03-15-2023, 01:25 AM
RE: Hex_Maze - by bplus - 03-15-2023, 01:33 AM
RE: Hex_Maze - by SMcNeill - 03-15-2023, 05:43 AM
RE: Hex_Maze - by SMcNeill - 03-15-2023, 05:49 AM
RE: Hex_Maze - by James D Jarvis - 03-15-2023, 04:15 PM



Users browsing this thread: 1 Guest(s)