Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old June 13th, 2002, 02:14 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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

Reply With Quote
  #2  
Old June 13th, 2002, 05:12 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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

Reply With Quote
  #3  
Old June 13th, 2002, 11:15 AM
latos latos is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: UK
Posts: 6 latos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old June 13th, 2002, 01:24 PM
tbb tbb is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 9 tbb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #5  
Old June 13th, 2002, 03:02 PM
mikesgt2 mikesgt2 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 21 mikesgt2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old June 13th, 2002, 06:56 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Sample Maze

hmm, I can't seem to get your maze generator to work, at all.
http://www.bearca.com/linux/mazegen.html

Reply With Quote
  #7  
Old June 13th, 2002, 08:28 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Sample Maze

Oops...

I had a bug in Netscape I hadn't noticed...

It's fixed now.

Reply With Quote
  #8  
Old June 13th, 2002, 08:55 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Sample Maze

cool, works great now, Thank you very much

Reply With Quote
  #9  
Old June 13th, 2002, 08:56 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.

Reply With Quote
  #10  
Old June 13th, 2002, 09:04 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Sample Maze

what if there are multiple wall types, or 'special items'?

Reply With Quote
  #11  
Old June 13th, 2002, 11:57 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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

Reply With Quote
  #12  
Old June 14th, 2002, 01:23 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Sample Maze

Ah, but it all depends on the system you're on... I happen to be running on a 233 Mhz Windows PC, on which PHP is rather *cough* slow...

Reply With Quote
  #13  
Old June 14th, 2002, 02:23 AM
Taoism Taoism is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Winnipeg, MB, Canada
Posts: 81 Taoism User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 sec
Reputation Power: 2
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:
>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


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > Sample Maze


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT