Page 1 of 3

Lazy Maze

Posted: Sat Nov 08, 2008 8:58 pm
by Grammaton
Hi,

Is the game maybe broken?

I am always getting the same results for the directions like a static page.
I can move 10 times down, and after i move again up i am again outside the edge.
Same Problem for right and left.

Regards,
Grammaton

Posted: Sun Nov 09, 2008 1:24 am
by tails
You have to specify all the steps from the start every time. So, when you want to move 10 times down and 1 up, you should specify "DDDDDDDDDDU".

Posted: Sun Nov 09, 2008 2:04 am
by Grammaton
Thank you for the reply!
Now i can get forward, but there is still some interesting feature.

DD => keep moving
DDU => boom

Seem like i cannot move backward.
I try to solve it using the Oneway :)

Posted: Sun Nov 09, 2008 2:20 am
by tails
Grammaton wrote:Seem like i cannot move backward.
It's written on the challenge page. "Don't cross your tracks."

Posted: Sun Nov 09, 2008 2:23 pm
by Grammaton
Ahh ok,
now its working :-)

thank you very much tails!

Seems the Map is bigger than i assumed, i started drawing it using a pen and paper but i have almost a DINA4 Full and i am afraid of that the the page is not big enough, since this i the second one i have to redraw :)

Posted: Mon Nov 10, 2008 4:53 pm
by Allosentient
It is pretty big

Posted: Wed Jan 07, 2009 11:02 pm
by cyberwoozle
Silly question: is there really an exit at an edge of the maze or do i have to look for a hole somewhere in the middle? I'm pretty sure, that i have drawn the entire maze, but all edges are closed :(

Posted: Thu Jan 08, 2009 12:14 am
by MerickOWA
I had a program that memorized the maze as it went through (mostly so I could pause processing and verify the results and then resume). It also allowed me to view the maze.

The exit is definitely on the edge.

Posted: Thu Jan 08, 2009 8:13 pm
by gfoot
I'm not sure what the benefit is in drawing a map, or assuming the exit is at the edge - I didn't do either, and don't see any more efficient way than how I actually solved it.

Posted: Thu Jan 08, 2009 11:33 pm
by cyberwoozle
??? and what was your way?

Since i have no great skills in programming except some basics in perl and python, i thought it would be easier to draw a map than spending weeks in learning a specific programming language.

Posted: Thu Jan 08, 2009 11:35 pm
by tog
The whole sense of this site is to get/apply programming skills :wink:

Posted: Fri Jan 09, 2009 12:00 am
by gfoot
Python is fine, that's what I used - learn how to use it to automate sending simple web requests (with urllib or urllib2), and then figure out how to decide what path to try next at each point.

I don't want to hint much about the actual algorithm I used, but it was about as simple as it could get - nothing complicated.

Posted: Thu Nov 12, 2009 11:52 pm
by DaymItzJack
- nt -

Posted: Tue Nov 24, 2009 2:37 am
by matter
For those wondering, it takes 100-200 steps to solve this maze. Consider that before doing it by hand.

Posted: Wed Apr 13, 2011 8:13 am
by helly0d
Watch out i think you changed the appache version cause on this challenge the split causes an error at line 52. it says it is deprecated.