Page 1 of 1
Maze algorithms
Posted: Mon Aug 13, 2007 7:21 pm
by Mentat
How would anybody make a maze making algorithm? I have the cpu add a point as long as there isn't a point in the immediate and immediate to immediate spot. For some reason, it's slow and doesn't work well (its TI-BASIC, which has a good pxl-checker but slow pseter).
This forum is more for sharing ideas, not as just a question.
Posted: Mon Aug 13, 2007 8:33 pm
by MystikShadows
I typically use an array for that. A 2 dimensional array that is.
Posted: Mon Aug 13, 2007 9:07 pm
by Stoves
Interesting maze algorithm discussion and reference page:
http://www.astrolog.org/labyrnth/algrithm.htm
Posted: Tue Aug 14, 2007 12:07 am
by Anonymous
Hi,
I would suggest making the maze in the array and then display the maze after it has been made. Accessing memory tends to be faster than using a function like pset because pset does some extra stuff you don't always need.
I voted array
Posted: Tue Aug 14, 2007 7:24 pm
by Mac
Try my Maze from Hell
http://www.network54.com/Forum/190883/m ... 1021149818
I've seen people actually solve it!
Mac
Posted: Tue Aug 14, 2007 7:32 pm
by Mentat