#include <bits/stdc++.h>
using namespace std;
int main(){
cout<<"----------欢迎----------\n";
cout<<" 输入1或2\n";
int n;
cin>>n;
if(n==1){
cout<<"--------班级大战!---------";
int a,e;
cout<<"班主任:今天我们是分封制(请选择你的英雄1.班主任的狗 2.二刺螈"<<endl;
cin>>a;
cout<<"开始游戏"<<endl;
if(a==1){
cout<<"班主任:班长!从今天起你来**你周围33的区域!"<<endl;
cout<<"已获得领地33";
e=9;
cout<<"这时有同学在吃辣条你会怎么做?1.告诉主任2.跟他一起吃"<<endl;
int s;
cin>>s;
if(s==1){
cout<<"班主任:班长干得不错,奖励你一块22的地盘"<<endl;
e+=4;
}
else {
cout<<"班主任:班长!你竟然吃辣条!减少你的封地!"<<endl;
e-=4;
}
cout<<"班级里的体委向你宣战1,接下战斗2.逃避"<<endl;
int q;
cin>>q;
if(q==1){
cout<<"战斗开始"<<endl;
cout<<"体委的血量为100HP1.记名册2.爆黑料"<<endl;
int p;
cin>>p;
if(p==1){
cout<<"你打败了体委,班主任奖励你了22的地盘"<<endl;
e+=4;
}
if(p==2){
cout<<"你被打败了";
return 0;
}
}
else{
cout<<"你失败了";
return 0;
}
cout<<"二次元大军向你攻击,1逃避2开战"<<endl;
int yu;
cin>>yu;
if(yu==1){
cout<<"你失去了地盘";
return 0;
}
if(yu==2){
cout<<"战斗开始";
cout<<"二刺螈大军血量200HP,他们使用袜子1.扔回去2.不扔"<<endl;
int yt;
cin>>yt;
if(yt==1){
cout<<"你成功扔了回去,并把他们熏掉了100HP"<<endl;
cout<<"二次元大军血量100HP";
cout<<"他们不服气,向你攻来1.记在记名册上2.逃走";
int sf;
cin>>sf;
if(sf==1){
cout<<"你胜利了,你**了全班";
return 0;
}
else{
cout<<"你失败了";
return 0;
}
}
else{
cout<<"你被熏**了";
return 0;
}
}
}
if(a==2){
cout<<"班主任:二刺螈!从今天起你来**你周围33的区域!"<<endl;
cout<<"已获得领地33";
e=9;
cout<<"这时有同学在吃辣条你会怎么做?1.告诉主任2.跟他一起吃"<<endl;
int s;
cin>>s;
if(s==1){
cout<<"你怎么这么小气!消除你4块领地"<<endl;
e-=4;
}
else {
cout<<"班主任没有看见,你收下了2快领地"<<endl;
e+=2;
}
cout<<"班级里的体委向你宣战1,接下战斗2.逃避"<<endl;
int q;
cin>>q;
if(q==1){
cout<<"战斗开始"<<endl;
cout<<"体委的血量为100HP1.记名册2.爆黑料"<<endl;
int p;
cin>>p;
if(p==2){
cout<<"你打败了体委,班主任奖励你了2*2的地盘"<<endl;
e+=4;
}
if(p==1){
cout<<"你被打败了";
return 0;
}
}
else{
cout<<"你失败了";
return 0;
}
cout<<"班长向你攻击,1逃避2开战"<<endl;
int yu;
cin>>yu;
if(yu==1){
cout<<"你失去了地盘";
return 0;
}
if(yu==2){
cout<<"战斗开始";
cout<<"班长大军血量200HP,他们使用记名册1.抢本子2.不抢"<<endl;
int yt;
cin>>yt;
if(yt==1){
cout<<"你没有抢到,你失败了"<<endl;
cout<<"班主任:班长干得不错,简直就是韩信啊!班长:过奖过奖1.你知道韩信的下场是什么吗?";
int sf;
cin>>sf;
if(sf==1){
cout<<"班长:什么!班主任打败了班长"<<endl;
cout<<"评分胜负";
}
else{
cout<<"你失败了";
}
}
else{
cout<<"下次点1";
}
}
}
return 0;
}
}
那我在这发一份
#include <bits/stdc++.h>
using namespace std;
int main(){
cout<<"----------欢迎----------\n";
cout<<" 输入1或2\n";
int n;
cin>>n;
if(n==1){
cout<<"--------班级大战!---------";
int a,e;
cout<<"班主任:今天我们是分封制(请选择你的英雄1.班主任的狗 2.二刺螈"<<endl;
cin>>a;
cout<<"开始游戏"<<endl;
if(a==1){
cout<<"班主任:班长!从今天起你来**你周围33的区域!"<<endl;
cout<<"已获得领地33";
e=9;
cout<<"这时有同学在吃辣条你会怎么做?1.告诉主任2.跟他一起吃"<<endl;
int s;
cin>>s;
if(s==1){
cout<<"班主任:班长干得不错,奖励你一块22的地盘"<<endl;
e+=4;
}
else {
cout<<"班主任:班长!你竟然吃辣条!减少你的封地!"<<endl;
e-=4;
}
cout<<"班级里的体委向你宣战1,接下战斗2.逃避"<<endl;
int q;
cin>>q;
if(q==1){
cout<<"战斗开始"<<endl;
cout<<"体委的血量为100HP1.记名册2.爆黑料"<<endl;
int p;
cin>>p;
if(p==1){
cout<<"你打败了体委,班主任奖励你了22的地盘"<<endl;
e+=4;
}
if(p==2){
cout<<"你被打败了";
return 0;
}
}
else{
cout<<"你失败了";
return 0;
}
cout<<"二次元大军向你攻击,1逃避2开战"<<endl;
int yu;
cin>>yu;
if(yu==1){
cout<<"你失去了地盘";
return 0;
}
if(yu==2){
cout<<"战斗开始";
cout<<"二刺螈大军血量200HP,他们使用袜子1.扔回去2.不扔"<<endl;
int yt;
cin>>yt;
if(yt==1){
cout<<"你成功扔了回去,并把他们熏掉了100HP"<<endl;
cout<<"二次元大军血量100HP";
cout<<"他们不服气,向你攻来1.记在记名册上2.逃走";
int sf;
cin>>sf;
if(sf==1){
cout<<"你胜利了,你**了全班";
return 0;
}
else{
cout<<"你失败了";
return 0;
}
}
else{
cout<<"你被熏**了";
return 0;
}
}
}
if(a==2){
cout<<"班主任:二刺螈!从今天起你来**你周围33的区域!"<<endl;
cout<<"已获得领地33";
e=9;
cout<<"这时有同学在吃辣条你会怎么做?1.告诉主任2.跟他一起吃"<<endl;
int s;
cin>>s;
if(s==1){
cout<<"你怎么这么小气!消除你4块领地"<<endl;
e-=4;
}
else {
cout<<"班主任没有看见,你收下了2快领地"<<endl;
e+=2;
}
cout<<"班级里的体委向你宣战1,接下战斗2.逃避"<<endl;
int q;
cin>>q;
if(q==1){
cout<<"战斗开始"<<endl;
cout<<"体委的血量为100HP1.记名册2.爆黑料"<<endl;
int p;
cin>>p;
if(p==2){
cout<<"你打败了体委,班主任奖励你了2*2的地盘"<<endl;
e+=4;
}
if(p==1){
cout<<"你被打败了";
return 0;
}
}
else{
cout<<"你失败了";
return 0;
}
cout<<"班长向你攻击,1逃避2开战"<<endl;
int yu;
cin>>yu;
if(yu==1){
cout<<"你失去了地盘";
return 0;
}
if(yu==2){
cout<<"战斗开始";
cout<<"班长大军血量200HP,他们使用记名册1.抢本子2.不抢"<<endl;
int yt;
cin>>yt;
if(yt==1){
cout<<"你没有抢到,你失败了"<<endl;
cout<<"班主任:班长干得不错,简直就是韩信啊!班长:过奖过奖1.你知道韩信的下场是什么吗?";
int sf;
cin>>sf;
if(sf==1){
cout<<"班长:什么!班主任打败了班长"<<endl;
cout<<"评分胜负";
}
else{
cout<<"你失败了";
}
}
else{
cout<<"下次点1";
}
}
}
return 0;
}
}
那我在这发一份
#include <bits/stdc++.h>
using namespace std;
int main(){
cout<<"----------欢迎----------\n";
cout<<" 输入1或2\n";
int n;
cin>>n;
if(n==1){
cout<<"--------班级大战!---------";
int a,e;
cout<<"班主任:今天我们是分封制(请选择你的英雄1.班主任的狗 2.二刺螈"<<endl;
cin>>a;
cout<<"开始游戏"<<endl;
if(a==1){
cout<<"班主任:班长!从今天起你来**你周围33的区域!"<<endl;
cout<<"已获得领地33";
e=9;
cout<<"这时有同学在吃辣条你会怎么做?1.告诉主任2.跟他一起吃"<<endl;
int s;
cin>>s;
if(s==1){
cout<<"班主任:班长干得不错,奖励你一块22的地盘"<<endl;
e+=4;
}
else {
cout<<"班主任:班长!你竟然吃辣条!减少你的封地!"<<endl;
e-=4;
}
cout<<"班级里的体委向你宣战1,接下战斗2.逃避"<<endl;
int q;
cin>>q;
if(q==1){
cout<<"战斗开始"<<endl;
cout<<"体委的血量为100HP1.记名册2.爆黑料"<<endl;
int p;
cin>>p;
if(p==1){
cout<<"你打败了体委,班主任奖励你了22的地盘"<<endl;
e+=4;
}
if(p==2){
cout<<"你被打败了";
return 0;
}
}
else{
cout<<"你失败了";
return 0;
}
cout<<"二次元大军向你攻击,1逃避2开战"<<endl;
int yu;
cin>>yu;
if(yu==1){
cout<<"你失去了地盘";
return 0;
}
if(yu==2){
cout<<"战斗开始";
cout<<"二刺螈大军血量200HP,他们使用袜子1.扔回去2.不扔"<<endl;
int yt;
cin>>yt;
if(yt==1){
cout<<"你成功扔了回去,并把他们熏掉了100HP"<<endl;
cout<<"二次元大军血量100HP";
cout<<"他们不服气,向你攻来1.记在记名册上2.逃走";
int sf;
cin>>sf;
if(sf==1){
cout<<"你胜利了,你**了全班";
return 0;
}
else{
cout<<"你失败了";
return 0;
}
}
else{
cout<<"你被熏**了";
return 0;
}
}
}
if(a==2){
cout<<"班主任:二刺螈!从今天起你来**你周围33的区域!"<<endl;
cout<<"已获得领地33";
e=9;
cout<<"这时有同学在吃辣条你会怎么做?1.告诉主任2.跟他一起吃"<<endl;
int s;
cin>>s;
if(s==1){
cout<<"你怎么这么小气!消除你4块领地"<<endl;
e-=4;
}
else {
cout<<"班主任没有看见,你收下了2快领地"<<endl;
e+=2;
}
cout<<"班级里的体委向你宣战1,接下战斗2.逃避"<<endl;
int q;
cin>>q;
if(q==1){
cout<<"战斗开始"<<endl;
cout<<"体委的血量为100HP1.记名册2.爆黑料"<<endl;
int p;
cin>>p;
if(p==2){
cout<<"你打败了体委,班主任奖励你了2*2的地盘"<<endl;
e+=4;
}
if(p==1){
cout<<"你被打败了";
return 0;
}
}
else{
cout<<"你失败了";
return 0;
}
cout<<"班长向你攻击,1逃避2开战"<<endl;
int yu;
cin>>yu;
if(yu==1){
cout<<"你失去了地盘";
return 0;
}
if(yu==2){
cout<<"战斗开始";
cout<<"班长大军血量200HP,他们使用记名册1.抢本子2.不抢"<<endl;
int yt;
cin>>yt;
if(yt==1){
cout<<"你没有抢到,你失败了"<<endl;
cout<<"班主任:班长干得不错,简直就是韩信啊!班长:过奖过奖1.你知道韩信的下场是什么吗?";
int sf;
cin>>sf;
if(sf==1){
cout<<"班长:什么!班主任打败了班长"<<endl;
cout<<"评分胜负";
}
else{
cout<<"你失败了";
}
}
else{
cout<<"下次点1";
}
}
}
return 0;
}
}
