hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Lazy Maze
Goto page 1, 2  Next
 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Lazy Maze
Author Message
Grammaton



Joined: 04 Nov 2008
Posts: 9
Location: Bavaria, Germany

Post Lazy Maze Reply with quote
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
Sat Nov 08, 2008 8:58 pm View user's profile Send private message
tails



Joined: 10 Jun 2008
Posts: 191
Location: Tokyo

Post Reply with quote
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".
Sun Nov 09, 2008 1:24 am View user's profile Send private message
Grammaton



Joined: 04 Nov 2008
Posts: 9
Location: Bavaria, Germany

Post Reply with quote
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 Smile
Sun Nov 09, 2008 2:04 am View user's profile Send private message
tails



Joined: 10 Jun 2008
Posts: 191
Location: Tokyo

Post Reply with quote
Grammaton wrote:
Seem like i cannot move backward.

It's written on the challenge page. "Don't cross your tracks."
Sun Nov 09, 2008 2:20 am View user's profile Send private message
Grammaton



Joined: 04 Nov 2008
Posts: 9
Location: Bavaria, Germany

Post Reply with quote
Ahh ok,
now its working Smile

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 Smile
Sun Nov 09, 2008 2:23 pm View user's profile Send private message
Allosentient



Joined: 10 Apr 2008
Posts: 273

Post Reply with quote
It is pretty big
Mon Nov 10, 2008 4:53 pm View user's profile Send private message
cyberwoozle



Joined: 07 Nov 2008
Posts: 60
Location: Germany

Post Reply with quote
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 Sad
Wed Jan 07, 2009 11:02 pm View user's profile Send private message
MerickOWA



Joined: 07 Apr 2008
Posts: 182
Location: HkRkoz al KuwaiT 2019 HaCkEr 101

Post Reply with quote
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.
Thu Jan 08, 2009 12:14 am View user's profile Send private message
gfoot



Joined: 05 Sep 2007
Posts: 269
Location: Brighton, UK

Post Reply with quote
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.
Thu Jan 08, 2009 8:13 pm View user's profile Send private message
cyberwoozle



Joined: 07 Nov 2008
Posts: 60
Location: Germany

Post Reply with quote
??? 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.
Thu Jan 08, 2009 11:33 pm View user's profile Send private message
tog



Joined: 14 Nov 2008
Posts: 70
Location: Germany

Post Reply with quote
The whole sense of this site is to get/apply programming skills Wink
Thu Jan 08, 2009 11:35 pm View user's profile Send private message
gfoot



Joined: 05 Sep 2007
Posts: 269
Location: Brighton, UK

Post Reply with quote
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.
Fri Jan 09, 2009 12:00 am View user's profile Send private message
DaymItzJack



Joined: 29 Oct 2009
Posts: 106

Post Reply with quote
- nt -
Thu Nov 12, 2009 11:52 pm View user's profile Send private message
matter



Joined: 12 Oct 2009
Posts: 11

Post Reply with quote
For those wondering, it takes 100-200 steps to solve this maze. Consider that before doing it by hand.
Tue Nov 24, 2009 2:37 am View user's profile Send private message
helly0d



Joined: 13 Feb 2009
Posts: 27
Location: Iasi Romania

Post Reply with quote
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.
Wed Apr 13, 2011 8:13 am View user's profile Send private message
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Challenges All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.