Automation

Post Reply
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Automation

Post 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
Moltress
Posts: 2
Joined: Thu Jun 11, 2009 9:25 am

Post by Moltress »

how can i submit my score??????

plsease tell me! :? :? :?
Hack is the best thing in the world but its illegal!!!!
DAMNNNNNNNNNNNN!!!!!!!!!!!!!!!!!!!!!
tails
Posts: 191
Joined: Tue Jun 10, 2008 7:51 pm
Location: Tokyo

Post 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.
User avatar
Isaev
Posts: 39
Joined: Tue Dec 16, 2008 11:23 pm
Location: Germany

Post by Isaev »

adum, how much levels has bricolage?
Is there the end?
contagious
Posts: 35
Joined: Tue May 12, 2009 6:08 pm
Location: Greece

Post by contagious »

Isaev wrote:adum, how much levels has bricolage?
Is there the end?
At least 1052 levels. :D
User avatar
Isaev
Posts: 39
Joined: Tue Dec 16, 2008 11:23 pm
Location: Germany

Post by Isaev »

contagious wrote: At least 1052 levels. :D
You are very attentive! :)
The issue is: Is there a possibility the first to become?
contagious
Posts: 35
Joined: Tue May 12, 2009 6:08 pm
Location: Greece

Post 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.
User avatar
Yharaskrik
Posts: 31
Joined: Wed Nov 05, 2008 11:44 am
Location: Germany

Post 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
User avatar
Hippo
Posts: 339
Joined: Sat Feb 01, 2014 12:05 am
Location: Praha 5

Post 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 ;) ...
User avatar
Isaev
Posts: 39
Joined: Tue Dec 16, 2008 11:23 pm
Location: Germany

Post by Isaev »

How many colors at the last level?
and sizes NxM?
User avatar
Yharaskrik
Posts: 31
Joined: Wed Nov 05, 2008 11:44 am
Location: Germany

Post 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
User avatar
Isaev
Posts: 39
Joined: Tue Dec 16, 2008 11:23 pm
Location: Germany

Post 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?
User avatar
Yharaskrik
Posts: 31
Joined: Wed Nov 05, 2008 11:44 am
Location: Germany

Post by Yharaskrik »

Yes. There is no level with more than 13 different colors.
Post Reply