杨博煊 • 1年前
using namespace std; int main(){
char a,b,c,d,e,f,g,h;
int x = 0;
cout<<"欢迎来到战争反应测试"<<endl;
cout<<"背景:你是中国人,正在参加三战"<<endl;
cout<<endl;
cout<<"请选择"<<endl;
cout<<"以下各题选择a或b"<<endl;
cout<<"a.进入 b.马上进入"<<endl;
cin>>a;
cout<<endl;
cout<<"你在战场上"<<endl;
cout<<"看到一把AK74和一把M16"<<endl;
cout<<"你会选择哪一把枪?"<<endl;
cout<<"a.AK47 b.M16"<<endl;
cin>>b;
if(b == 'a'){
x++;
}
cout<<endl;
cout<<"看到一辆T90和一辆99A"<<endl;
cout<<"你会选择哪一辆坦克"<<endl;
cout<<"a.T90 b.99A"<<endl;
cin>>c;
if(c == 'b'){
x++;
}
cout<<endl;
cout<<"你在战场上的一栋楼里"<<endl;
cout<<"听到敌人的脚步声和敌人的枪声"<<endl;
cout<<"你会选择向哪一个声音走去?"<<endl;
cout<<"a.脚步声 b. 枪声"<<endl;
cin>>d;
cout<<endl;
if(d == 'b'){
x++;
}else{
cout<<"选择向枪声可以偷袭啊!sb"<<endl;
}
cout<<endl;
cout<<"你会炸水坝吗?"<<endl;
cout<<"提示:炸水坝违反战争法!"<<endl;
cout<<"a.炸 b.不炸"<<endl;
cin>>e;
cout<<endl;
if(e == 'a'){
x++;
}else{
cout<<"把敌人往死里打"<<endl;
}
cout<<endl;
cout<<"你遭遇核打击"<<endl;
cout<<"你会躲到哪?"<<endl;
cout<<"a.坦克 b.冰箱"<<endl;
cin>>f;
if(f == 'b'){
x++;
}
cout<<endl;
cout<<"你在一栋房子里遇见了"<<endl;
cout<<"你遇见了一个敌国女孩,你会怎么办?"<<endl;
cout<<"a.放过她 b.一枪击毙"<<endl;
cin>>a;
if(a == 'b'){
x++;
}
cout<<endl;
cout<<"分数(满分6分): "<<x<<endl;
cout<<"答案:abbab"<<endl;
if(x == 6){
cout<<"泰裤辣!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"<<endl;
}else if(x == 5){
cout<<"还不错"<<endl;
}else{
cout<<"fuck you sbssbsbsbsbsbsbbsbsbbsbsbsbsbsbsb"<<endl;
}
cout<<"请评价!"<<endl;
cout<<"a.好 b.很好 c.buhao"<<endl;
cin>>g;
if(g == 'a' || g == 'b'){
cout<<"感谢游玩 感谢评价 原创:人生导师 "<<endl;
}else{
cout<<"没良心的sb "<<endl;
cout<<"原创:人生导师"<<endl;
}
cout<<"请按任意键 + 2 * enter退出"<<endl;
cin>>h;
if(h == ' '){
cout<<"sb"<<endl;
}
}
评论: