Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: OneWay

by Rydor (Scribe)
on Sep 03, 2000 at 04:52 UTC ( #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====>


Comment on RE: OneWay
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
Node Status?
node history
Node Type: note [id://30903]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (17)
As of 2015-07-29 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls