最近刚刚看到的,只供编程疲惫时解闷~~~
result love(boy, girl)
{
if ( boy.有房() and boy.有车() )
{
boy.set(nothing);
return girl.嫁给(boy);
}
else 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( girl.耐心 == 0 && girl.有其它追求者)
{
girl.goto( another_boy);
boy.郁闷中();
boy.天天到军坛灌水();
return 没有结果;
}
}
}
try
{
girl.要男友买房();
girl.要男友买车();
girl.[url=javascript:void(0)]每天[/url]逛专卖店();
if ( boy.有房() && boy.有车() )
{
girl.去澳洲旅游(boy);
girl.到英国威斯敏斯结婚(boy);
girl.嫁给(boy);
boy.没日没夜挣钱();
}
}
catch()
{
girl.byebye(boy);
boy.郁闷中();
boy.天天到天涯灌水();
return girl.broadcast(“这个男人真小气“);
}
return girl.每天逛专卖店();
}
return girl.goto( another_boy);
}