传说中规范的爱情代码(2010-11-10 21:37:36)
转载
标签:it
private final static DEPOSIT = 100000
private final static FELLING = 8
public void love(boy, girl) {
Boolean isMarried = false
if(boy.有房() &&boy.有车()) {
doMarry(boy, girl)
isMarried = true
} else if(girl.愿意等()) {
while(!(boy.赚钱 >DEPOSIT &&girl.感情 >FELLING)) {
for(int day=1day <=365day++) {
if( day == 情人节 ) {
if(boy.givegirl(玫瑰)) {
girl.感情++
} else {
girl.感情--
}
}
if(day == girl.生日) {
if( boy.givegirl(玫瑰) )
{
girl.感情++
}
else {
girl.感情--
boy.拼命赚钱()
}
}
}
if(boy.有房() &&boy.有车()) {
doMarry(boy, girl)
isMarried = true
break
}
年龄++
girl.感情--
}
}
if(!IsMarried) {
girl.goto(another_boy)
}
private void doMarry(boy, girl) {
boy.set(nothing)
girl.嫁给(boy)
}
打开记事本,复制粘贴以下内容。
doa=msgbox("嫁给我,是否同意?",36,"我爱你")
loop until a = vbYes
msgbox "我爱你宝贝"
点击文件,另存为,文件名输入“love.vbs”(不含隐含),保存类型选所有文件。保存即可。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)