Pages

Tuesday, March 2, 2010

Algorithm of Luck

Luck = Preparation + Opportunity.

IF (Preparation = NIL) 
{
   Opportunity = NO USE.
}

IF (Opportunity KNOCK Your_Door) 
{
   IF ((You = Hesitate) OR (You != Confident)) 
   {
      You = LOSE
   }
   ELSE
   { 
      You = WIN
   }
}
ELSE
{
   DO
   {
      You KNOCK Opportunity's_Door.

      IF (Opportunity's_Door = OPEN)
      {
         You ENTER Inside.
         You GRAB Opportunity.
      }
      ELSE
      {
         You BANG Opportunity's_Door
      }
   } WHILE(Opportunity's_Door != OPEN)
}

1 comment: