Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: OneWay

by Rydor (Scribe)
on Sep 03, 2000 at 04:52 UTC ( [id://30903]=note: print w/replies, xml ) Need Help??


in reply to OneWay

Cool, but one problem.... The solution to the maze 9 out of 10 times is just go down, over to the right, and right back up. it generally ignores the lower part of the maze.

@:::::::((==========Rydor====>

Replies are listed 'Best First'.
RE: RE: OneWay
by Adam (Vicar) on Sep 05, 2000 at 20:15 UTC
    That's the problem with taking a fully solveable - randomly generated maze and then sticking the entrances that close together. In order to stay with-in the char count for TPJ, I was forced to drop the random entrance code. You can, of course, pick any starting and ending points you want. You can also generate larger mazes (reducing the likely-hood of an overly simplistic one) by running the script with your desired dimensions on the command line.

    OneWay.pl 39 20

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://30903]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found