|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sample Maze
Here is a _HUGE_ sample maze: http://www.bearca.com/linux/mazes.txt
I made it with my maze generator: http://www.bearca.com/linux/mazegen.html JavaScript, but hey - it works. Parsed in 2.08 seconds Full GD Render in 24.57 |
|
#2
|
|||
|
|||
|
RE: Sample Maze
That file have any newlines in it? (came out as 1 row with 28,781 characters in it) Sorta breaks that 132chr / row limit.
-r |
|
#3
|
|||
|
|||
|
RE: Sample Maze
There were linebreaks in it (!) but it had problems because the lines where so long.
I fixed that maze so that the spaces were correct and so that the lines worked correctly. The only thing it breaks the rules for now is the fact that it is 161 characters long per row. You can find my fixed version of this maze at: http://www.mdlnet.net/mazes.txt |
|
#4
|
|||
|
|||
|
RE: Sample Maze
Eh? Is that actually a valid maze? i.e. using ! and a newline *combined* ("!n", if you will) to deliminate a new row?
|
|
#5
|
|||
|
|||
|
RE: Sample Maze
That is not valid, there is another topic somwhere about this. Rows in one maze can be delimited by new lines or ! but not both.
|
|
#6
|
|||
|
|||
|
RE: Sample Maze
hmm, I can't seem to get your maze generator to work, at all.
http://www.bearca.com/linux/mazegen.html |
|
#7
|
|||
|
|||
|
RE: Sample Maze
Oops...
I had a bug in Netscape I hadn't noticed... It's fixed now. |
|
#8
|
|||
|
|||
|
RE: Sample Maze
cool, works great now, Thank you very much
|
|
#9
|
|||
|
|||
|
RE: Sample Maze
On the topic of the length of lines that my generator creates...
Unless your parser specifically cuts off at the 132 char limit, it should in theory be little problem for your maze to render the rest... My maze parser/renderer program is limited only by the capability of the computer and time - But it still easily adheres to all the rules. |
|
#10
|
|||
|
|||
|
RE: Sample Maze
what if there are multiple wall types, or 'special items'?
|
|
#11
|
|||
|
|||
|
RE: Sample Maze
>Parsed in 2.08 seconds
>Full GD Render in 24.57 my script parse the corrected version of the maze in 0.618 seconds not bad.. ;) ;p i don't use GD but only html and text ;) bye |
|
#12
|
|||
|
|||
|
RE: Sample Maze
Ah, but it all depends on the system you're on...
|
|
#13
|
|||
|
|||
|
RE: RE: Sample Maze
0.5 seconds here...(only html and embeded css used)
I think I'll modify it to show the parse time vs render build time... Cheers, Keith. Quote:
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > Sample Maze |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|