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.每天逛專賣店();
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);
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.每天逛專賣店();
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);
這是我在某技術論壇上偶然看到的,看完之後我表示“震驚”,這位才女邏輯思維超棒的,非常的有創意噢,要是能被編譯出來就好了,哈哈~~
if(gril.同意裸婚()){ return girl.嫁給(boy); } else
girl.goto( another_boy);
大家也來試著寫一個看看,分享一下吧~~~~~
|
没有评论:
发表评论