|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
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> |
|
#2
|
|||
|
|||
|
RE: Automatically generate test mazes
Fantastic! Thanks
AJW |
|
#3
|
|||
|
|||
|
RE: Automatically generate test mazes
Very nice.
Thanks! |
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > Automatically generate test mazes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|