感情函数

result love(boy, girl)
{
if( boy.有房() and boy.有车() )
{
boy.set(nothing);
return girl.嫁给(boy);
}
if( girl.愿意等() )
{
while(!(boy.赚钱 > 100,000 and girl.感情 > 8 ) )
{
for( day=1; day <=365; day++)
{
if( day == 情人节 )
if( boy.givegirl(玫瑰) )
girl.感情++;
else
girl.感情–;  
if( day == girl.生日 )
if( boy.givegirl(玫瑰) )
{
girl.感情++;
else
girl.感情–;
boy.拼命赚钱();
}
}
if( boy.有房() and boy.有车() )
{
boy.set(nothing);
return girl.嫁给(boy);
}
年龄++;
girl.感情–;
}
return girl.goto( another_boy);
}

Popularity: 13% [?]




50% OFF Coupon: 50OFF

5 Comments on “感情函数”

  • Mgccl wrote on 28 May, 2007, 3:04

    …哪里来的? C语言么?
    介意让我用你的idea写一个PHP版本么?

    [Reply]

  • manboo wrote on 28 May, 2007, 8:23

    是转的,,期待你的PHP版本哦。。。

    你的blog经常看,,早怀疑你是中国人。。。

    现在确定了,呵呵

    [Reply]

  • sea wrote on 28 May, 2007, 17:01

    哈,有意思

    [Reply]

  • sea wrote on 28 May, 2007, 17:03

    穷光蛋找老婆该咋办

    [Reply]

  • 域名申请 wrote on 30 May, 2007, 23:49

    有意思

    [Reply]

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2010 时光漫步. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.