Programming Riddle/Challenge

Discussion in 'Programmer's Corner' started by jegues, Jul 22, 2011.

  1. jegues

    Thread Starter Well-Known Member

    Sep 13, 2010
    735
    43
    I'm trying to figure out the following riddle/challenge to proceed to the next level, and was wondering if anyone on the forum might be able to help me out.

    They give the following image,

    [​IMG]
    Along with a hint,

    Hint: Favicon

    Which refers to the favourite icon in one's browser.

    Now when we view the source code of the page we see the following,

    Code ( (Unknown Language)):
    1.  
    2. [COLOR=#0000ff]<[/COLOR][COLOR=#800000]html[/COLOR][COLOR=#0000ff]>[/COLOR]
    3.  
    4.  
    5.     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]head[/COLOR][COLOR=#0000ff]>[/COLOR]
    6.  
    7.  
    8.  
    9.         [COLOR=#0000ff]<[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]Checkmate[COLOR=#0000ff]</[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]
    10.  
    11.  
    12.  
    13.         [COLOR=#0000ff]<[/COLOR][COLOR=#800000]link[/COLOR][COLOR=#ff0000]rel[/COLOR][COLOR=#0000ff]='stylesheet' [/COLOR][COLOR=#ff0000]TYPE[/COLOR][COLOR=#0000ff]='text/css' [/COLOR][COLOR=#ff0000]HREF[/COLOR][COLOR=#0000ff]='/2011/style.css' />[/COLOR]
    14.  
    15.  
    16.  
    17.         [COLOR=#0000ff]<[/COLOR][COLOR=#800000]link[/COLOR][COLOR=#ff0000]rel[/COLOR][COLOR=#0000ff]='shortcut icon' [/COLOR][COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]='image/x-icon' [/COLOR][COLOR=#ff0000]href[/COLOR][COLOR=#0000ff]='/2011/qrcodes/36af7945da72824e5e639fa1d1e46244.png' />[/COLOR]
    18.  
    19.  
    20.  
    21.         [COLOR=#0000ff]<[/COLOR][COLOR=#800000]link[/COLOR][COLOR=#ff0000]rel[/COLOR][COLOR=#0000ff]='icon' [/COLOR][COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]='image/x-icon' [/COLOR][COLOR=#ff0000]href[/COLOR][COLOR=#0000ff]='/2011/qrcodes/36af7945da72824e5e639fa1d1e46244.png' />[/COLOR]
    22.  
    23.  
    24.  
    25.     [COLOR=#0000ff]</[/COLOR][COLOR=#800000]head[/COLOR][COLOR=#0000ff]>[/COLOR]
    26.  
    27.  
    28.  
    29.     [COLOR=#0000ff]<[/COLOR][COLOR=#800000]body[/COLOR][COLOR=#0000ff]>[/COLOR]
    30.  
    31.  
    32.  
    33.         [COLOR=#0000ff]<[/COLOR][COLOR=#800000]center[/COLOR][COLOR=#0000ff]>[/COLOR]
    34.  
    35.  
    36.  
    37. [COLOR=#0000ff]<[/COLOR][COLOR=#800000]img[/COLOR][COLOR=#ff0000]src[/COLOR][COLOR=#0000ff]='http://www.skullspace.net/2011/images/36af7945da72824e5e639fa1d1e46244.png'>[/COLOR][COLOR=#0000ff]<[/COLOR][COLOR=#800000]br[/COLOR][COLOR=#0000ff]>[/COLOR][COLOR=#0000ff]<[/COLOR][COLOR=#800000]span[/COLOR][COLOR=#ff0000]style[/COLOR][COLOR=#0000ff]='text-color:#ff0000;'>[/COLOR]Wrong! hint: favicon[COLOR=#0000ff]</[/COLOR][COLOR=#800000]span[/COLOR][COLOR=#0000ff]>[/COLOR][COLOR=#0000ff]<[/COLOR][COLOR=#800000]br[/COLOR][COLOR=#0000ff] />[/COLOR]
    38.  
    39.  
    40.  
    41. [COLOR=#0000ff]<[/COLOR][COLOR=#800000]form[/COLOR][COLOR=#ff0000]action[/COLOR][COLOR=#0000ff]="thementor.php" [/COLOR][COLOR=#ff0000]method[/COLOR][COLOR=#0000ff]="get">[/COLOR]
    42.  
    43.  
    44.  
    45.   [COLOR=#0000ff]<[/COLOR][COLOR=#800000]input[/COLOR][COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="text" [/COLOR][COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="move" />[/COLOR]
    46.  
    47.  
    48.  
    49.   [COLOR=#0000ff]<[/COLOR][COLOR=#800000]input[/COLOR][COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="submit" [/COLOR][COLOR=#ff0000]value[/COLOR][COLOR=#0000ff]="What's next?" />[/COLOR]
    50.  
    51.  
    52.  
    53. [COLOR=#0000ff]</[/COLOR][COLOR=#800000]form[/COLOR][COLOR=#0000ff]>[/COLOR]
    54.  
    55.  
    56.  
    57.  
    58.  
    59.  
    60.  
    61.  
    62.  
    63.  
    64.  
    65.       [COLOR=#0000ff]<[/COLOR][COLOR=#800000]hr[/COLOR][COLOR=#0000ff]>[/COLOR]
    66.  
    67.  
    68.  
    69.       [COLOR=#0000ff]<[/COLOR][COLOR=#800000]p[/COLOR][COLOR=#0000ff]>[/COLOR]Photo credits (mostly): [COLOR=#0000ff]<[/COLOR][COLOR=#800000]a[/COLOR][COLOR=#ff0000]href[/COLOR][COLOR=#0000ff]='http://www.flickr.com/photos/bkulyk'>[/COLOR]Brian Kulyk[COLOR=#0000ff]</[/COLOR][COLOR=#800000]a[/COLOR][COLOR=#0000ff]>[/COLOR][COLOR=#0000ff]</[/COLOR][COLOR=#800000]p[/COLOR][COLOR=#0000ff]>[/COLOR]
    70.  
    71.  
    72.  
    73.       [COLOR=#0000ff]<[/COLOR][COLOR=#800000]p[/COLOR][COLOR=#0000ff]>[/COLOR]Liked this challenge? Check out [COLOR=#0000ff]<[/COLOR][COLOR=#800000]a[/COLOR][COLOR=#ff0000]href[/COLOR][COLOR=#0000ff]='http://www.skullspace.ca'>[/COLOR]our hackerspace[COLOR=#0000ff]</[/COLOR][COLOR=#800000]a[/COLOR][COLOR=#0000ff]>[/COLOR] or follow [COLOR=#0000ff]<[/COLOR][COLOR=#800000]a[/COLOR][COLOR=#ff0000]href[/COLOR][COLOR=#0000ff]='https://twitter.com/skullspacewpg'>[/COLOR]@SkullSpaceWpg[COLOR=#0000ff]</[/COLOR][COLOR=#800000]a[/COLOR][COLOR=#0000ff]>[/COLOR] on Twitter![COLOR=#0000ff]</[/COLOR][COLOR=#800000]p[/COLOR][COLOR=#0000ff]>[/COLOR]
    74.  
    75.  
    76.  
    77.         [COLOR=#0000ff]</[/COLOR][COLOR=#800000]center[/COLOR][COLOR=#0000ff]>[/COLOR]
    78.  
    79.  
    80.  
    81.     [COLOR=#0000ff]</[/COLOR][COLOR=#800000]body[/COLOR][COLOR=#0000ff]>[/COLOR]
    82.  
    83.  
    84.  
    85. [COLOR=#0000ff]</[/COLOR][COLOR=#800000]html[/COLOR][COLOR=#0000ff]>[/COLOR]
    86.  
    87.  
    88.  
    I have a hunch that this portion of the source code has something to do with the answer, " <linkrel='shortcut icon' type='image/x-icon' href='/2011/qrcodes/36af7945da72824e5e639fa1d1e46244.png' />
    "

    Any ideas?

    I've figured part of it out. I navigate to the favicon and I scan the barcode and it brings me to this link,

    http://en.wikipedia.org/wiki/Algebraic_notation_(chess)

    Does it want me to insert the remaining moves for a checkmate? Do I have to input a series of moves or simply one? Can anyone spot it?

    To me it looks like Be7 would be a checkmate, no?

    Nevermind I've solved it.
     
    Last edited: Jul 22, 2011
  2. Markd77

    Senior Member

    Sep 7, 2009
    2,803
    594
  3. MrChips

    Moderator

    Oct 2, 2009
    12,449
    3,365
    B to e7 - checkmate
     
Loading...