c++ 小游戏 NO 3 XX大战

                                                        NO 3(最后一章时有彩蛋务必观看)

int mbg() {
	for( ;1; )
	{
	int a,b,c,d=9,e,f,g,h,i,j,k,l,m,n,s=0;
	cout<<"           --------狒狒大战2.15--------"<<endl;
	cout<<"欢迎来到狒狒大战2.15!\n";
	cout<<"请选择狒狒(如不知规则则摁10)"<<endl<<"======================================="<<endl;
	cout<<"1.年轻人\n";
	cout<<"2.卢本伟\n";
	cout<<"3.迪迦/盖亚\n";
	cout<<"4.狒狒\n";
	cout<<"5.SB\n"; 
	cout<<"6.马保国(别摁!)\n";
	cout<<"7.GAY\n";
	cout<<"8.老狒狒\n";
	cout<<"9.退出游戏\n";
	cout<<"10.关于游戏\n"<<"==========================================\n";
	gamestart:cin>>a;
	if(a==1) do {
			cout<<"发现马保国!"<<endl;
			cout<<"1.攻击或搞事情!"<<endl;
			cout<<"2.走过去"<<endl;
			cin>>b;
			if(b==1) {
				m=3;
				cout<<"1.蹭右眼\n";
				cout<<"2.不讲武德\n";
				cout<<"3.踢隐私部位\n";
				cout<<"4.太极神功(盗版)\n";
				cout<<"5.耍赖\n";
				cout<<"6.迪迦!!!!!\n";
				cout<<"7.装逼\n"; 
				cout<<"8.溜\n";
				cin>>e;
				if(e==1) {
					cout<<"你打肿了马老师的右眼"<<endl;
				    d=d+1;
					s++;
				}
				if(e==2) {
					cout<<"马老师说你不讲武德,并把你的鼻子蹭了一下\n";
					d=d-1; 
				}
				if(e==3) {
					cout<<"你踢了一下马老师的隐私部位\n";
					d=d+1;
					s+=5; 
				}
				if(e==4) {
					cout<<"你使用了太极神功(盗版)\n";
					d=d+1;
					s+=3; 
				}
				if(e==5) {
					cout<<"马老师摸了摸你的头,笑了笑\n";
					d=d-2;
					s+=1; 
				}
				if(e==6) {
					cout<<"你变成了迪迦\n";
					d=d+15;
					s+=3; 
				}
				if(e==7) {
					cout<<"你在马老师面前装逼\n";
					d=d+10;
					s+=4; 
				}
				if(e==8) {
					cout<<"马老师不让你溜\n";
					d=d-2; 
				}
				if(s>=11)
				{
					cout<<"      win"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<" inwinwinwinwi"<<endl;
					cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<" inwinwinwinwi"<<endl;
					return 0;
				}
			}
			if(b==2) {
				
				cout<<"不讲武德!"<<endl;
			}
		} while(d!=0);
	if(a==2) do {
			cout<<"发现马保国!"<<endl;
			cout<<"1.攻击或搞事情!"<<endl;
			cout<<"2.走过去"<<endl;
			cin>>b;
			if(b==1) {
				m=3;
				cout<<"1.蹭右眼\n";
				cout<<"2.不讲武德\n";
				cout<<"3.踢隐私部位\n";
				cout<<"4.太极神功(盗版)\n";
				cout<<"5.耍赖\n";
				cout<<"6.卢本伟牛逼\n";
				cout<<"7.鄙视光线\n";
				cout<<"8.溜\n";
				cin>>e;
				if(e==1) {
					cout<<"你打肿了马老师的右眼"<<endl;
				    d=d+1;
					s++;
				}
				if(e==2) {
					cout<<"马老师说你不讲武德,并把你的鼻子蹭了一下\n";
					d=d-1; 
				}
				if(e==3) {
					cout<<"你踢了一下马老师的隐私部位\n";
					d=d+1;
					s+=7; 
				}
				if(e==4) {
					cout<<"你使用了太极神功(盗版)\n";
					d=d+1;
					s+=3; 
				}
				if(e==5) {
					cout<<"马老师摸了摸你的头,笑了笑\n";
					d=d-2;
					s+=1; 
				}
				if(e==6) {
					cout<<"你使用了卢本伟牛逼\n";
					d=d+3;
					s+=3; 
				}
				if(e==7) {
					cout<<"你使用了鄙视光线\n";
					d=d+3;
					s+=5; 
				}
				if(e==8) {
					cout<<"马老师不让你溜\n";
					d=d-2; 
				}
				if(s>=15)
				{
					cout<<"      win"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<" inwinwinwinwi"<<endl;
					cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<" inwinwinwinwi"<<endl;
					return 0;
				}
			}
			if(b==2) {
				
				cout<<"不讲武德!"<<endl;
			}
		} while(d!=0);
	if(a==3) do {
			cout<<"发现马保国!"<<endl;
			cout<<"1.攻击或搞事情!"<<endl;
			cout<<"2.走过去"<<endl;
			cin>>b;
			if(b==1) {
				m=3;
				cout<<"1.切割光轮\n";
				cout<<"2.不讲武德\n";
				cout<<"3.踢隐私部位\n";
				cout<<"4.光线神功(盗版)\n";
				cout<<"5.耍赖\n";
				cout<<"6.鄙视光线\n";
				cout<<"7.溜\n";
				cin>>e;
				if(e==1) {
					cout<<"你使用了切割光轮"<<endl;
				    d=d+3;
					s+=5;
				}
				if(e==2) {
					cout<<"马老师说你不讲武德,并把你的鼻子蹭了一下\n";
					d=d-1; 
				}
				if(e==3) {
					cout<<"你踢了一下马老师的隐私部位\n";
					d=d+1;
					s+=7; 
				}
				if(e==4) {
					cout<<"你使用了激光神功(盗版)\n";
					d=d+1;
					s+=3; 
				}
				if(e==5) {
					cout<<"马老师摸了摸你的头,笑了笑\n";
					d=d-2;
					s+=1; 
				}
				if(e==6) {
					cout<<"你使用了鄙视光线\n";
					d=d+3;
					s+=5; 
				}
				if(e==7) {
					cout<<"马老师不让你溜\n";
					d=d-2; 
				}
				if(s>=15)
				{
					cout<<"      win"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<" inwinwinwinwi"<<endl;
					cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<" inwinwinwinwi"<<endl;
					return 0;
				}
			}
			if(b==2) {
				
				cout<<"不讲武德!"<<endl;
			}
		} while(d!=0);
	if(a==4) do {
			cout<<"发现马保国!"<<endl;
			cout<<"1.攻击或搞事情!"<<endl;
			cout<<"2.走过去"<<endl;
			cin>>b;
			if(b==1) {
				m=3;
				cout<<"1.狒狒光轮\n";
				cout<<"2.不讲武德\n";
				cout<<"3.踢隐私部位\n";
				cout<<"4.狒狒神功(盗版)\n";
				cout<<"5.耍赖\n";
				cout<<"6.狒狒光线\n";
				cout<<"7.狒狒拉稀\n";
				cout<<"8.溜\n";
				cin>>e;
				if(e==1) {
					cout<<"你使用了狒狒光轮"<<endl;
				    d=d+2;
					s+=3;
				}
				if(e==2) {
					cout<<"马老师说你不讲武德,并把你的鼻子蹭了一下\n";
					d=d-2; 
				}
				if(e==3) {
					cout<<"你踢了一下马老师的隐私部位\n";
					d=d+2;
					s+=8; 
				}
				if(e==4) {
					cout<<"你使用了狒狒神功(盗版)\n";
					d=d+3;
					s+=4; 
				}
				if(e==5) {
					cout<<"马老师摸了摸你的头,笑了笑\n";
					d=d-2;
					s+=1; 
				}
				if(e==6) {
					cout<<"你使用了狒狒光线\n";
					d=d+3;
					s+=5; 
				}
				if(e==7) {
					cout<<"你使用了狒狒拉稀\n";
					d=d+1;
					s+=7; 
				}
				if(e==8) {
					cout<<"马老师不让你溜\n";
					d=d-2; 
				}
				if(s>=18)
				{
					cout<<"      win"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<" inwinwinwinwi"<<endl;
					cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<" inwinwinwinwi"<<endl;
					return 0;
				}
			}
			if(b==2) {
				
				cout<<"不讲武德!"<<endl;
			}
		} while(d!=0);
	if(a==5) do {
			cout<<"发现马保国!"<<endl;
			cout<<"1.攻击或搞事情!"<<endl;
			cout<<"2.走过去"<<endl;
			cin>>b;
			if(b==1) {
				m=3;
				cout<<"1.SB激光\n";
				cout<<"2.不讲武德\n";
				cout<<"3.踢隐私部位\n";
				cout<<"4.SB神功(盗版)\n";
				cout<<"5.耍赖\n";
				cout<<"6.变傻光线\n";
				cout<<"7.叫爸爸!\n"; 
				cout<<"8.溜\n";
				cin>>e;
				if(e==1) {
					cout<<"你使用了SB激光"<<endl;
				    d=d+4;
					s+=2;
				}
				if(e==2) {
					cout<<"马老师说你不讲武德,并把你的鼻子蹭了一下\n";
					d=d-2; 
				}
				if(e==3) {
					cout<<"你踢了一下马老师的隐私部位\n";
					d=d+3;
					s+=8; 
				}
				if(e==4) {
					cout<<"你使用了SB神功(盗版)\n";
					d=d+1;
					s+=4; 
				}
				if(e==5) {
					cout<<"马老师摸了摸你的头,笑了笑\n";
					d=d-2;
					s--; 
				}
				if(e==6) {
					cout<<"你使用了变傻光线\n";
					d=d+5;
					s+=6; 
				}
				if(e==7) {
					cout<<"你叫了马保国一声爸爸\n";
					d=d-3;
					s+=3;
				}
				if(e==8) {
					cout<<"马老师不让你溜\n";
					d=d-2; 
				}
				if(s>=20)
				{
					cout<<"      win"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<" inwinwinwinwi"<<endl;
					cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<" inwinwinwinwi"<<endl;
					return 0;
				}
			}
			if(b==2) {
				
				cout<<"不讲武德!"<<endl;
			}
		} while(d!=0);
	if(a==6) do {
			cout<<"1.用闪电五连鞭!"<<endl;
			cout<<"2.打他鼻梁骨"<<endl;
			cout<<"3.太极神功(盗版)\n";
			cout<<"4.盖亚!!!!!\n";
			cout<<"5.斥责年轻人不讲武德\n";
			cout<<"6.闪电十连鞭\n";
			cin>>j;
			if(j==1)cout<<"一鞭,两鞭,三鞭,四鞭,五鞭!"<<endl<<"================================="<<endl;
			{
				cout<<"         os\n";
			    cout<<"        l  e\n";
			    cout<<"        l  e\n";
			    cout<<"        lose\n";
			    cout<<"        lose\n";
 			    cout<<"        lose\n";
			    cout<<"        lose\n";
			    cout<<"        lose\n";
			    cout<<"        lose\n";
			    cout<<"  eloseloseloselos\n";
			    cout<<" loseloseloseloselo\n";
			    cout<<"eloseloseloseloselos\n";
                cout<<"eloseloseloseloselos\n";
                cout<<"eloseloseloseloselos\n";
                cout<<"eloseloseloseloselos\n";
                cout<<" loseloseloseloselo\n";
                cout<<"=======================================\n";
                for(int i=1;i<=1000;i++) cout<<"lose lose 哈哈!     ";
					return 0;
			}
			if(j==2) cout<<"中国功夫,讲究点到为止,于是你笑了一下,准备收拳,谁知这个年轻人他不讲武德,偏来偷袭我69岁的老年人,你劝年轻人耗子尾汁适可而止好好反思。"<<endl<<"========================================="<<endl<<"lose!"<<endl;
			{
			    cout<<"         os\n";
			    cout<<"        l  e\n";
			    cout<<"        l  e\n";
			    cout<<"        lose\n";
			    cout<<"        lose\n";
 			    cout<<"        lose\n";
			    cout<<"        lose\n";
			    cout<<"        lose\n";
			    cout<<"        lose\n";
			    cout<<"  eloseloseloselos\n";
			    cout<<" loseloseloseloselo\n";
			    cout<<"eloseloseloseloselos\n";
                cout<<"eloseloseloseloselos\n";
                cout<<"eloseloseloseloselos\n";
                cout<<"eloseloseloseloselos\n";
                cout<<" loseloseloseloselo\n";
                cout<<"=======================================\n";
                for(int i=1;i<=1000;i++) cout<<"lose lose 哈哈!    ";
				return 0; 
			}
			if(j==3) cout<<"你使用了太极神功(盗版)"<<endl<<"========================================="<<endl<<"lose!"<<endl;
			{
				d=d+3;
				s+=5;
			}
			if(j==4) cout<<"你变身成了盖亚"<<endl<<"========================================="<<endl<<"lose!"<<endl;
			{
				d=d+12;
				s+=2;
			}
			if(j==5) cout<<"你骂年轻人不讲武德"<<endl;
			{
				d=d+5;
				s+=2;
			}
			if(j==6) cout<<"你使用了闪电十连鞭"<<endl;
			{
				d=d+2;
				s+=7;
			}
		} while(d<=0||s>=4);
	if(a==7) do {
			cout<<"发现马保国!"<<endl;
			cout<<"1.攻击或搞事情!"<<endl;
			cout<<"2.走过去"<<endl;
			cin>>b;
			if(b==1) {
				m=3;
				cout<<"1.GAY之光轮\n";
				cout<<"2.不讲武德\n";
				cout<<"3.踢隐私部位\n";
				cout<<"4.GAY神功(盗版)\n";
				cout<<"5.耍赖\n";
				cout<<"6.鄙视光线\n";
				cout<<"7.奥利给!\n";
				cout<<"8.溜\n";
				cin>>e;
				if(e==1) {
					cout<<"你使用了GAY之光轮"<<endl;
				    d=d+4;
					s+=3;
				}
				if(e==2) {
					cout<<"马老师说你不讲武德,并把你的鼻子蹭了一下\n";
					d=d-3; 
				}
				if(e==3) {
					cout<<"你踢了一下马老师的隐私部位\n";
					d=d+16;
					s+=12; 
				}
				if(e==4) {
					cout<<"你使用了GAY神功(盗版)\n";
					d=d+3;
					s+=4; 
				}
				if(e==5) {
					cout<<"马老师摸了摸你的头,笑了笑\n";
					d=d-3;
					s+=2; 
				}
				if(e==6) {
					cout<<"你使用了鄙视光线\n";
					d=d+3;
					s+=5; 
				}
				if(e==7) {
					cout<<"奥利给!\n";
					d=d+30;
					s+=1; 
				}
				if(e==8) {
					cout<<"马老师不让你溜\n";
					d=d-2; 
				}
				if(s>=19)
				{
					cout<<"      win"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<" inwinwinwinwi"<<endl;
					cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<" inwinwinwinwi"<<endl;
					return 0;
				}
			}
			if(b==2) {
				
				cout<<"不讲武德!"<<endl;
			}
		} while(d!=0);
	if(a==8) do {
			cout<<"发现马保国!"<<endl;
			cout<<"1.攻击或搞事情!"<<endl;
			cout<<"2.走过去"<<endl;
			cin>>b;
			if(b==1) {
				m=3;
				cout<<"1.蹭右眼\n";
				cout<<"2.不讲武德\n";
				cout<<"3.踢隐私部位\n";
				cout<<"4.NB神功(盗版)\n";
				cout<<"5.耍赖\n";
				cout<<"6.迪迦!!!!!\n";
				cout<<"7.溜\n";
				cin>>e;
				if(e==1) {
					cout<<"你打肿了马老师的右眼"<<endl;
				    d=d+1;
					s++;
				}
				if(e==2) {
					cout<<"马老师说你不讲武德,并把你的鼻子蹭了一下\n";
					d=d-1; 
				}
				if(e==3) {
					cout<<"你踢了一下马老师的隐私部位\n";
					d=d+1;
					s+=5; 
				}
				if(e==4) {
					cout<<"你使用了NB神功(盗版)\n";
					d=d+1;
					s+=3; 
				}
				if(e==5) {
					cout<<"马老师摸了摸你的头,笑了笑\n";
					d=d-2;
					s+=1; 
				}
				if(e==6) {
					cout<<"你变成了迪迦\n";
					d=d+15;
					s+=3; 
				}
				if(e==7) {
					cout<<"马老师不让你溜\n";
					d=d-2; 
				}
				if(s>=11)
				{
					cout<<"      win"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      w n"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<"      win"<<endl;
					cout<<" inwinwinwinwi"<<endl;
					cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<"winwinwinwinwin"<<endl;
                    cout<<" inwinwinwinwi"<<endl;
					return 0;
				}
			}
			if(b==2) {
				
				cout<<"不讲武德!"<<endl;
			}
		} while(d!=0);
	if(a==10) {
		cout<<"  欢迎您来玩本游戏,本游戏是由狒狒教育有限公司娱乐部出版的,可通过数字键来选择人物、技能及运动。此版本(2.15)在2.12的基础上修改了一个bug!祝您玩得不愉快!谢谢!(っ*ω*)っ\n";
		cout<<"选择狒狒"<<endl<<"=========================================="<<endl;
	cout<<"1.年轻人\n";
	cout<<"2.卢本伟\n";
	cout<<"3.迪迦/盖亚\n";
	cout<<"4.狒狒\n";
	cout<<"5.SB\n"; 
	cout<<"6.马保国\n";
	cout<<"7.GAY\n";
	cout<<"8.老狒狒\n";
	cout<<"9.关于游戏\n"<<"==========================================\n";
	goto gamestart; 
    }
    if(a==9){
    	system("cls");
    	return 0;
	} 
}
}

        自行观看,老规矩。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值