didactic blue

Discussion of challenges you have already solved
Post Reply
Aghamemnon
Posts: 49
Joined: Fri Jul 02, 2010 9:34 pm
Location: Egypt
Contact:

didactic blue

Post 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?
:twisted: Devilish Angel Aghamemnon :twisted:
Aghamemnon
Posts: 49
Joined: Fri Jul 02, 2010 9:34 pm
Location: Egypt
Contact:

Post by Aghamemnon »

318
now it's 319


hahahahaha :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:
:twisted: Devilish Angel Aghamemnon :twisted:
Aghamemnon
Posts: 49
Joined: Fri Jul 02, 2010 9:34 pm
Location: Egypt
Contact:

Post by Aghamemnon »

I spent a lot of time solving this challenge by hand
someone may help get a new solving method
:twisted: Devilish Angel Aghamemnon :twisted:
netfish
Posts: 1
Joined: Fri Mar 26, 2010 6:03 pm

Post 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 />';
}
?>
virstulte
Posts: 2
Joined: Sun Sep 12, 2010 6:11 am

Post 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.
Yes. No? Perhaps. What?
Aghamemnon
Posts: 49
Joined: Fri Jul 02, 2010 9:34 pm
Location: Egypt
Contact:

Post by Aghamemnon »

Will you believe it
The answer is visible right in the image
just do the conversion and you'll see it
:twisted: Devilish Angel Aghamemnon :twisted:
JayArr
Posts: 8
Joined: Sat Oct 16, 2010 3:06 pm

Post by JayArr »

solved it like netfish but with java.
Xipho
Posts: 1
Joined: Sun Oct 31, 2010 10:30 pm

Post 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. :-)
User avatar
darkcipher
Posts: 2
Joined: Mon Nov 08, 2010 10:51 pm

Post by darkcipher »

convert blue.png -flip blue2.png
pngtopnm blue2.png | fold -w 99
Post Reply