Hexadecagon Maze Day 4

Published August 25, 2014
Advertisement

Day 4



Today I spent most of my time refactoring. But I also wrote new code at the last minute. Figure (12) is my initial attempt at maze generation.

maze_03.pnghdmcap02.png

Admittedly, Figure (12) doesn't look as good as when all the walls were in, like Figure (7). I need to think of a way of improving this. If anybody has a good idea, please let me know.

Meanwhile, here's a decent looking maze I wrote last year.
2 likes 2 comments

Comments

ferrous

Is it removing too many walls, maybe?

August 25, 2014 10:36 PM
puz

Ferrous:

Thank you for the advice. I agree with you. I added code that prevents the maze creator from removing the 8 walls that make up the octagons. Doing so forced the paths to be circular. I posted a screen capture in my Day 5 post. Please take a look and tell me if it is an improvement over Figure 12.

August 26, 2014 07:54 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement