hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Automation

 
Reply to topic    hacker.org Forum Index » Bricolage View previous topic
View next topic
Automation
Author Message
adum



Joined: 19 Apr 2007
Posts: 390

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/brick/index.php
The URL will accept parameters in the query part of the URL that correspond to your registered account:
name=<username>
password=<password>

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. he board parameter is the map, where a character is a color of a block and a dot is an empty one. It's all one string, but you can break it up knowing boardX. (The first boardX characters make the first row, etc.) Each 'color' of block is a different letter, starting with 'a'.

Note that in the flash version, the "bottom" of the board is really the top. I.e., row zero is along the bottom. This is purely semantic, of course, but opposite from our other puzzles.


Submit a Solution via an HTTP GET:


To submit a solution, use the following parameter:
path=<moves>
where the moves are a sequence of move pairs, two hexadecimal digits each, with no separator characters.
For example, to submit a solution where you clicked one square over and two up, then three squares over and zero up, you would do an HTTP GET on the following URL:
Code:
http://www.hacker.org/brick/index.php?name=<username>&password=<password>&path=01020300

Sun May 27, 2007 1:15 am View user's profile Send private message Visit poster's website
Moltress



Joined: 11 Jun 2009
Posts: 2

Post Reply with quote
how can i submit my score??????

plsease tell me! Confused Confused Confused

_________________
Hack is the best thing in the world but its illegal!!!!
DAMNNNNNNNNNNNN!!!!!!!!!!!!!!!!!!!!!
Thu Jun 11, 2009 9:41 am View user's profile Send private message
tails



Joined: 10 Jun 2008
Posts: 191
Location: Tokyo

Post Reply with quote
Moltress wrote:
how can i submit my score??????

You shoud first learn HTTP and how to handle HTTP (or TCP/IP) on your programming environment.
Then the code above tells you everything.

Moltress wrote:
Hack is the best thing in the world but its illegal!!!!

You don't know what real hacking is.
Thu Jun 11, 2009 12:07 pm View user's profile Send private message
Isaev



Joined: 16 Dec 2008
Posts: 33
Location: Germany

Post Reply with quote
adum, how much levels has bricolage?
Is there the end?
Mon Jul 15, 2013 8:12 am View user's profile Send private message ICQ Number
contagious



Joined: 12 May 2009
Posts: 35
Location: Greece

Post Reply with quote
Isaev wrote:
adum, how much levels has bricolage?
Is there the end?


At least 1052 levels. Very Happy
Mon Jul 15, 2013 11:32 am View user's profile Send private message
Isaev



Joined: 16 Dec 2008
Posts: 33
Location: Germany

Post Reply with quote
contagious wrote:

At least 1052 levels. Very Happy

You are very attentive! Smile
The issue is: Is there a possibility the first to become?
Tue Jul 16, 2013 6:57 am View user's profile Send private message ICQ Number
contagious



Joined: 12 May 2009
Posts: 35
Location: Greece

Post Reply with quote
Isaev wrote:
contagious wrote:

At least 1052 levels. Very Happy

You are very attentive! Smile
The issue is: Is there a possibility the first to become?


I guess only Adum can answer to that.

You could reach level 1052(if this is the last one) and consider yourself first. Like Runaway Robot.
Tue Jul 16, 2013 4:50 pm View user's profile Send private message
Yharaskrik



Joined: 05 Nov 2008
Posts: 31
Location: Germany

Post Reply with quote
Hi,
at the moment there is no level 1053.
But you're invited to become the second who reaches level 1052...

Greetings,
yharaskrik
Wed Jul 17, 2013 6:31 am View user's profile Send private message
Hippo



Joined: 01 Feb 2014
Posts: 330
Location: Praha 5

Post Reply with quote
Yharaskrik wrote:
Hi,
at the moment there is no level 1053.
But you're invited to become the second who reaches level 1052...

Greetings,
yharaskrik


You definitely have very nice lead in this puzzle Wink ...
Tue Nov 18, 2014 11:20 pm View user's profile Send private message
Isaev



Joined: 16 Dec 2008
Posts: 33
Location: Germany

Post Reply with quote
How many colors at the last level?
and sizes NxM?
Thu May 28, 2015 2:52 pm View user's profile Send private message ICQ Number
Yharaskrik



Joined: 05 Nov 2008
Posts: 31
Location: Germany

Post Reply with quote
Isaev wrote:
How many colors at the last level?
and sizes NxM?

Level=1052 Width=100 Height=20 Blocks=621 Colors=5
but
Level=1050 Width=88 Height=22 Blocks=653 Colors=13
Fri May 29, 2015 7:09 am View user's profile Send private message
Isaev



Joined: 16 Dec 2008
Posts: 33
Location: Germany

Post Reply with quote
Yharaskrik wrote:

Level=1052 Width=100 Height=20 Blocks=621 Colors=5
but
Level=1050 Width=88 Height=22 Blocks=653 Colors=13


thanks, I thought it's more cruelly. Smile
so 4 bits will be enough for storage of color in any level?
Fri May 29, 2015 8:57 am View user's profile Send private message ICQ Number
Yharaskrik



Joined: 05 Nov 2008
Posts: 31
Location: Germany

Post Reply with quote
Yes. There is no level with more than 13 different colors.
Fri May 29, 2015 11:57 am View user's profile Send private message
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Bricolage 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.