public var c: enter image description here = Infinity;

public var w:Array = [enter image description here,enter image description here,
                      enter image description here,enter image description here ];

for(i = 0; i < w.length; i++){
    if(chuck(i)){
        x++;
    }
    else{
        break;
    }
}
trace(x);

function chuck(i):Boolean{  
    return c > w[i];
}



What does $x$ represent?


  • 3
    This is a very interesting combinatorial puzzle! +1 – PerpetualJ Oct 16 at 17:57
  • 2
    If every Chuck Norris joke had been this clever, the meme wouldn't have died such a painful death. – Tamás Sengel Oct 17 at 14:01
up vote 43 down vote accepted

This looks like

How much wood would a wood Chuck chuck if a wood Chuck could chuck wood?

because

Chuck Norris has a wood grain pattern, thus "wood Chuck," and there's an array of wood, and Chuck vs wood.

also, X should be ...

The amount of wood a wood Chuck would chuck. It is logging for the logging, so to speak. It looks like 4 in this case, but I'm not completely sure since x is never instantiated.

  • @Chowzen I've updated the last bit to better explain that – Matt Oct 17 at 14:00

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.