hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in

Reply to topic    hacker.org Forum Index » Pusherboy View previous topic
View next topic
Author Message

Joined: 19 Apr 2007
Posts: 392

Post Automation Reply with quote
Like all our puzzles, this is designed to be solved by a computer past a certain point.

Accessing your current level
The URL for the puzzle is http://www.hacker.org/push/index.php
The URL will accept parameters in the query part of the URL that correspond to your registered account:

Just making a normal HTTP request to the above URL with your name and password will retrieve the current puzzle. To parse this information, look for the line that says FlashVars="...". inside the quotes are params separated by ampersands. Dots represent 0. Letters represent a number of blocks, with 'a' being 1, 'b' 2, etc. The board parameter is the map. It's all one string, but you can break it up on the commas. (The first x characters make the first row, then a comma, etc.)

Submit a Solution via an HTTP GET:

To submit a solution, use the following parameter:
path=<starting x,starting y,moves>
where the moves are a list of 'D', 'R', 'U', or 'L' for down, right, up, or left.
For example, to submit a solution where your solution went {right, left, up} from one square over and two down, you would do an HTTP GET on the following URL:

Wed Mar 12, 2008 10:31 pm View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Pusherboy All times are GMT
Page 1 of 1

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.