个人资料
正文

一个IT女孩写的爱情代码

(2008-04-30 06:22:31) 下一个
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);
}
[ 打印 ]
阅读 ()评论 (0)
评论
目前还没有任何评论
登录后才可评论.