Page 1 of 1

Automation

Posted: Sun May 27, 2007 1:15 am
by adum
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: Select all

http://www.hacker.org/brick/index.php?name=<username>&password=<password>&path=01020300

Posted: Thu Jun 11, 2009 9:41 am
by Moltress
how can i submit my score??????

plsease tell me! :? :? :?

Posted: Thu Jun 11, 2009 12:07 pm
by tails
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.

Posted: Mon Jul 15, 2013 8:12 am
by Isaev
adum, how much levels has bricolage?
Is there the end?

Posted: Mon Jul 15, 2013 11:32 am
by contagious
Isaev wrote:adum, how much levels has bricolage?
Is there the end?
At least 1052 levels. :D

Posted: Tue Jul 16, 2013 6:57 am
by Isaev
contagious wrote: At least 1052 levels. :D
You are very attentive! :)
The issue is: Is there a possibility the first to become?

Posted: Tue Jul 16, 2013 4:50 pm
by contagious
Isaev wrote:
contagious wrote: At least 1052 levels. :D
You are very attentive! :)
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.

Posted: Wed Jul 17, 2013 6:31 am
by Yharaskrik
Hi,
at the moment there is no level 1053.
But you're invited to become the second who reaches level 1052...

Greetings,
yharaskrik

Posted: Tue Nov 18, 2014 11:20 pm
by Hippo
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 ;) ...

Posted: Thu May 28, 2015 2:52 pm
by Isaev
How many colors at the last level?
and sizes NxM?

Posted: Fri May 29, 2015 7:09 am
by Yharaskrik
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

Posted: Fri May 29, 2015 8:57 am
by Isaev
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. :)
so 4 bits will be enough for storage of color in any level?

Posted: Fri May 29, 2015 11:57 am
by Yharaskrik
Yes. There is no level with more than 13 different colors.