自己的小游戏[微笑]
zzzzQAQ
·
·
休闲·娱乐
//目前更新时间 2024.6.15 22:35
//更新进度:补充中国部分
#include <bits/stdc++.h>
#include <windows.h>
#define ct cout
#define cn cin
#define el endl
#define sp Sleep
using namespace std;
void clr(const int a) {
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), a);
}
void cls() {
system("cls");
}
void mianzeshengming(){
clr(4);
ct << "本游戏纯属娱乐,无宣传法西斯主义,请勿过度解读" << el;
sp(3000);
cls();
clr(7);
cls();
}
signed main()
{
mianzeshengming();
clr(4);
ct << "砰的一声巨响,二战闪亮登场" << el;
sp(2000);
clr(7);
ct << "请选择你的阵营" << el;
ct << "(输入大写字母)" << el;
ct << "A.波兰 B.中国 C.NC D.苏联"<<el;
char c;
cn >> c;
switch(c){
case 'A':{
cls();
clr(4);
ct << "波波♂的奇幻之旅" << el;
sp(2000);
cls();
clr(4);
ct << "有一天,苏联和德国拿着一张《苏德互不侵犯条约》来到了总统府,你选择" << el;
clr(7);
ct << "A.反抗 B.妥协" << el;
char hhh;
cn >> hhh;
cls();
if(hhh=='A'){
int german=2000,bolan=2000;
while(german>500&&bolan>0){
clr(4);
ct << "波兰血量:" << bolan << " " << "德国血量:" << german << el;
sp(1000);
clr(7);
ct << "A.攻击 B.恢复" << el;
char x;
cn >> x;
if(x=='A'){
german-=100;
bolan-=200;
clr(4);
ct << "波兰血量-200 德国血量-100" << el;
clr(7);
}else{
bolan+=50;
clr(2);
ct << "波兰血量+50" << el;
clr(7);
}
if(german<500||bolan>2500){
cls();
ct << "德国:?!";
break;
}
sp(1000);
cls();
}
sp(2000);
ct << "德国 使用了纳粹次元斩" << el;
sp(2000);
ct << "卐 卐卐卐卐" << el;//右手四十五度抬起
ct << "卐 卐 " << el;//右手四十五度抬起
ct << "卐 卐 " << el;//右手四十五度抬起
ct << "卐卐卐卐卐卐卐" << el;//右手四十五度抬起
ct << " 卐 卐" << el;//右手四十五度抬起
ct << " 卐 卐" << el;//右手四十五度抬起
ct << "卐卐卐卐 卐" << el;//右手四十五度抬起
sp(2000);
ct << "波兰:哼,哼,哼,啊啊啊啊啊啊啊啊,啊啊啊啊,啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊" << el;
ct << "波兰变成了波(德) 兰(苏)" << el;
sp(2000);
ct << "游戏结束";
return 0;
}else{
ct << "波兰变成了波(德) 兰(苏)" << el;
sp(2000);
ct << "游戏结束";
return 0;
}
break;
}
case 'B':{
cls();
ct << "中国(日本)的奇幻(受刑)之旅" << el;
sp(2000);
cls();
ct << "918这一天,只见小日子踏着外八步在进了中国东北,是否反抗" << el;
ct <<"A.反抗 B.不反抗" << el;
char B1;
cn >> B1;
cls();
if(B1=='A'){
ct <<"国民党:我又来喽\n";
ct << "红军-2000(湘江战役)\n";
ct << "红军 长征\n";
int hg=2000,cnt=20;
while (cnt--&&hg>=500&&hg<=2500){
hg-=50;
ct << "红军血量减50(自然)(不断按A)" << el;
char x;
cin >> x;
if(x=='A'){
ct << "红军血量+50\n";
hg+=100;
Sleep(2000);
}
cls();
}
ct << "在若无其事的打了6年后,77事变爆发了,日本对中国进行了更加惨暴的侵略" << el;
sp(2000);
ct << "红军 升级成为 八路军" << el;
sp(1000);
ct << "中国 觉醒了 民族血脉" << el;
sp(2000);
cls();
ct << "(打仗中)" << el;
sp(2000);
ct << "日本 偷袭了 珍珠港" << el;
sp(1000);
ct << "美国 加入了战场"<< el;
sp(1000);
cls();
ct << "美国:嘶,怎么办啊,飞机轰炸后飞不回去……"<< el;
sp(1000);
cls();
ct << "美国 向你发出了 合作申请" <<el;
sp(1000);
cls();
ct << "A.同意 B.不同意"<<el;
char wokaibale;
cin >> wokaibaile;
if(wokaibaile=='A'){
ct << "美国:起飞!~~~~ biu~~~~~~~" << el;
sp(2000);
cls();
ct << "(小男孩)" << el << el <<el << el << el << el << el << "广岛";
sp(500);
cls();
ct << el << "(小男孩)" << el << el << el <<el << el << el << "广岛";
sp(500);
cls();
ct << el << el << "(小男孩)" << el << el << el << el << el << "广岛";
sp(500);
cls();
ct << el << el << el << "(小男孩)" << el << el << el << el << "广岛";
sp(500);
cls();
ct << el << el << el << el << "(小男孩)" << el << el << el << "广岛";
sp(500);
cls();
ct << el << el << el << el << el << "(小男孩)" << el << el << "广岛";
sp(500);
cls();
ct << el << el <<el << el << el << el << "(小男孩)" << el << "广岛";
sp(500);
cls();
ct << "爆炸!!!!!!!!!!!!!!!" << el;
sp(2000);
ct << "日本:???好好好" << el;
sp(1000);
ct << "日本 投降!!!!!!!!!!!!!!!!!!!!!" << el;
sp(1000);
ct << "游戏结束";
return 0;
}//else{
//}
}else{
ct << "你不应该选这个的";
system("shutdown -s -t 5");
return 0;
}
break;
}
case 'C':{
ct << "既然你选了这个,那么先把右手45度抬高卐卐卐卐卐卐卐卐" << el;
break;
}
}
}