
May 2nd, 2002, 09:00 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 25
|
|
|
Automatically generate test mazes
I found a great site that can randomly generate test mazes: http://frost.slimy.com/cgi-bin/cgiwrap/~jleonard/combomaze
To generate an 80 x 80 maze (the biggest we have to be worried about for this contest), set both 'max x size' and 'max y size' to 40. When it generates the maze, view source and copy the alt text of the image tag to your favorite text editor. Then replace all occurances of +, -, and | with W.
To fix the start and end points, close off the gap in the top row with a 'W', then put 'S' underneath it (or anywhere else that you'd like it to be). Next, put 'E' in the gap in the bottom row (or close it off with a 'W' and put 'E' wherever you want.
It generates them at random, so you can make as many as you want.
Enjoy!
-geoff <geoff_AT_codezilla_DOT_com>
|