Page 1 of 1

didactic blue

Posted: Mon Aug 30, 2010 10:46 pm
by Aghamemnon
I can't believe my self I really solved it

Code: Select all

<html>
<head><title>blue</title></head>
<body>
<tt>
 ^^          look ||   main      <br />
             here \/             <br />
   `0oaoo   .__,<br />
   |       /    \ /===>  /))))><br />
   !       I    | |<br />
   i       |--_-! -=+:\  I-==~<br />
   I       |    i     |<br />
   \=--o>  A    } \--=/  \__--.<br />
<br />
 the answer is not 'oldshape'<br />
<br />
 :D        $$                *
</tt>
</body>
</html>

big effort right?

Posted: Mon Aug 30, 2010 10:47 pm
by Aghamemnon
318
now it's 319


hahahahaha :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:

Posted: Mon Sep 06, 2010 1:06 pm
by Aghamemnon
I spent a lot of time solving this challenge by hand
someone may help get a new solving method

Posted: Thu Sep 16, 2010 11:37 pm
by netfish

Code: Select all

<pre>
<?php
$img = imagecreatefrompng ('http://www.hacker.org/challenge/img/blue.png');
for ($h = 11; $h >= 0; $h--)
{
    for ($w = 0; $w < 33; $w++)
      echo chr (imagecolorat ($img, $w, $h) & 0xFF);
    echo '<br />';
}
?>

Posted: Tue Oct 05, 2010 8:26 pm
by virstulte
@netfish: that's an amazingly simple solution, well done. I converted the image to PPM binary with IrfanView and loaded the text in Vim.

Posted: Sat Oct 09, 2010 12:12 am
by Aghamemnon
Will you believe it
The answer is visible right in the image
just do the conversion and you'll see it

Posted: Sun Oct 31, 2010 10:51 am
by JayArr
solved it like netfish but with java.

Posted: Tue Nov 16, 2010 11:15 pm
by Xipho

Code: Select all

$ pngtopnm blue.png
P6
33 12
255
 :D        $$                *                                     the answer is not 'oldshape'                                        \=--o>  A    } \--=/  \__--.     I       |    i     |  |          i       |--_-! -=+:\  I-==~      !       I    | |      |          |       /    \ /==>>  /))))>     `0oOoo   .__,                       $      here \/              ^^      $   look ||   main()    
Took me a while to get the ASCII art right, though. :-)

Posted: Wed Nov 17, 2010 1:18 am
by darkcipher
convert blue.png -flip blue2.png
pngtopnm blue2.png | fold -w 99