The truth of Carrefour’s Lucky Draw

Recently Carrefour has come out with this special promotion. With the purchase of RM 60 and above, every customer will get a lucky draw ticket (its look like a parking ticket to me). They can use this card to participate in lucky draw. The only thing interesting about it was that the lucky draw was not done manually. It’s already been program in the lucky draw machine. The machine will read the bar code on the lucky draw ticket and start to draw the prize.

Photo
The red light will start moving across the prize list and stop at the winning prize. Remind me of the horse racing machine


The first prize is a 37’ LCD TV, but I personally think this prize doesn’t seem to be available for winning. The highest prize I saw was Mystery Gift (I also got one), guess what is it? A pen….wtf !!

Anyway, we can use the card once a day everyday until bla bla of September….forgot already. I think the code loaded to the machine look like this:-

Photo
I got 7 tickets, but only manage to get a PEN !!

Related Posts with Thumbnails

3 Comments:

  • Tung... ur assuming equal chances to win the prizes. I bet you that the algorithm is wrong.

    By Blogger wyejon, at 12:56 PM  

  • Prize prize = null;

    try {
    prize = LuckyDraw.getPrize();
    if (prize.getType().equals(PLASMA_TV)) {
    throw new IllegalStateException("Nah");
    }
    } catch (Exception ie) {
    prize = MYSTERY_SHIT;
    }

    By Blogger Unknown, at 1:57 PM  

  • haha

    but why not u set the win you generate randomly and the one u pass back as a separate integer - an ethical way to program rite ...

    i got like a few of those cards too, but the q was always too damn long to have a go at the machine ...

    tipu wan la ...

    By Blogger earl-ku, at 7:22 AM  

Post a Comment

<< Home