Lazy Maze

Grammaton
Posts: 9
Joined: Tue Nov 04, 2008 11:32 am
Location: Bavaria, Germany

Lazy Maze

Post 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
tails
Posts: 191
Joined: Tue Jun 10, 2008 7:51 pm
Location: Tokyo

Post 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".
Grammaton
Posts: 9
Joined: Tue Nov 04, 2008 11:32 am
Location: Bavaria, Germany

Post 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 :)
tails
Posts: 191
Joined: Tue Jun 10, 2008 7:51 pm
Location: Tokyo

Post by tails »

Grammaton wrote:Seem like i cannot move backward.
It's written on the challenge page. "Don't cross your tracks."
Grammaton
Posts: 9
Joined: Tue Nov 04, 2008 11:32 am
Location: Bavaria, Germany

Post 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 :)
Allosentient
Posts: 273
Joined: Thu Apr 10, 2008 9:47 pm

Post by Allosentient »

It is pretty big
cyberwoozle
Posts: 60
Joined: Fri Nov 07, 2008 10:43 am
Location: Germany

Post 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 :(
MerickOWA
Posts: 182
Joined: Mon Apr 07, 2008 5:54 pm
Location: HkRkoz al KuwaiT 2019 HaCkEr 101

Post 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.
gfoot
Posts: 269
Joined: Wed Sep 05, 2007 11:34 pm
Location: Brighton, UK

Post 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.
cyberwoozle
Posts: 60
Joined: Fri Nov 07, 2008 10:43 am
Location: Germany

Post 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.
tog
Posts: 70
Joined: Fri Nov 14, 2008 11:23 am
Location: Germany

Post by tog »

The whole sense of this site is to get/apply programming skills :wink:
gfoot
Posts: 269
Joined: Wed Sep 05, 2007 11:34 pm
Location: Brighton, UK

Post 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.
DaymItzJack
Posts: 106
Joined: Thu Oct 29, 2009 9:21 pm

Post by DaymItzJack »

- nt -
matter
Posts: 11
Joined: Mon Oct 12, 2009 7:30 am

Post by matter »

For those wondering, it takes 100-200 steps to solve this maze. Consider that before doing it by hand.
helly0d
Posts: 29
Joined: Fri Feb 13, 2009 2:10 am
Location: Iasi Romania

Post 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.
Post Reply