中级守护
#include<bits/stdc++.h>
#include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
#include<cstdlib>
#include<cmath>
#include<ctime>
#include<windows.h>
#include<fstream>
#include<iomanip>
#include<conio.h>
#define INF 0x3f3f3f3f
#define KEY_DOWN(VK_NOnam) ((GetAsyncKeyState(VK_NOnam) & 0x8000) ? 1:0)
using namespace std;
long long z1,z2,z3,z4=1,z5,z6,z7,z8,z9,z10,z11,z12,z13,z14;
long long z15,z16,z17,z18,z19,z20,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10;
long long jxyx;
int main(){
cout<<"正在载入游戏,请稍等";
for(int i=1;i<=6;i++){
Sleep(1000);
cout<<".";
}
system("cls");
cout<<"游戏加载完成!^~^";
system("cls");
cout<<"欢";
Sleep(300);
cout<<"迎";
Sleep(300);
cout<<"来";
Sleep(300);
cout<<"到";
Sleep(300);
cout<<"惊";
Sleep(300);
cout<<"喜";
Sleep(300);
cout<<"游";
Sleep(300);
cout<<"戏";
cout<<"(试用版)";
Sleep(300);
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<10;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<20;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<30;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<40;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<50;
Sleep(600);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<60;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<70;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<80;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<90;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<100;
Sleep(300);
system("cls");
cout<<"作者:";
Sleep(300);
cout<<"宫";
Sleep(500);
cout<<"成";
cout<<"\n\n\n\n 出版 金光工作室(^-^) 请勿沉迷游戏"<<" "<<"抵制不良游戏"<<" "<<"拒绝盗版游戏";
Sleep(3000);
system("cls");
cout<<"\n\n\n\n";
cout<<"请输入1~7,会有惊喜哦!";
cin>>z1;
if(z1==1){
cout<<"你遇到了怪兽,他向你跑了过来,你躲过了,要怎么做?"<<endl<<"1是拔剑和他战斗。 2一直躲,并少量反击。 3先让他平静下来,然后在它身上找原因。";
cin>>z2;
if(z2==1){
cout<<"最后体力不支,倒下了";
}
else if(z2==2){
cout<<"凭最后一丝体力,打赢了它,获得一个奥利给!!!";
}else if(z2==3){
cout<<"发现他身上有根刺,将它身上的刺拔出来吗? 1.拔 2.不拔";
cin>>z3;
if(z3==1){
cout<<"他很开心,绕你跑了两圈,给了你一个苹果。";
z4+=1;
}
else{
cout<<"你没拔刺,他父母来了,以为你刺了它,杀了你!";
}
}
}
else if(z1==2){
cout<<"你发现了一个宝箱,要过去吗? 1.过去 2.不过去";
cin>>z5;
if(z5==1){
cout<<"你慢慢的走了过去,一个巨人出现了!他向你挥了一拳,还好你躲开了,要攻击吗? 1攻击 2不攻击";
cin>>z6;
if(z6==1){
cout<<"你击败了他,打开了宝箱结果竟是一个C4炸弹,你被炸死了";
}
else{
cout<<"你没攻击但是有一次没躲开被砸死了!";
}
}
else if(z5==2){
cout<<"你离开了宝箱,结果被一个陷阱坑死了!";
}
}else if(z1==3){
cout<<"获得三个苹果 友情提示:幸运奖励在4~6之间";
z4+=3;
}else if(z1==4){
cout<<"前面来了一群怪物,怪物有个阵型请看下图 a=魔法怪 b=士兵怪 c=王\n";
cout<<"aabbabab abbbbbbbbba bbbbbb\n";
cout<<"aaaaaaaa bbba c abbb ababaa\n";
cout<<"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n";
cout<<"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\n";
cout<<"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\n";
cout<<"请问阵型有个缺点从哪攻击好? 1从后面 2从前面 3从左边 4从右边";
cin>>z7;
if(z7==1){
cout<<"恭喜你答对了,你击退了怪物大军!";
}
else if(z7==3||z7==4||z7==2){
cout<<"恭喜你答错了,你被怪物大军杀了";
}
}
else if(z1==5){
cout<<"请答出以下题目用一个空格隔开\n";
cout<<"7474*7255-44453+4343*2/2*2/2\n";
cout<<"12345679*1+12345679*2+12345679*3";
cout<<"10!\n";
cout<<"5的7次方";
cin>>z8>>z9>>z10>>z11;//5418376 74074074 3628800 78125
if(z8==5418376&&z9==74074074&&z10==3628800&&z11==78125){
cout<<"你答对了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
}
else{
cout<<"你错了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
}
}
else if(z1==6){
cout<<"幸运奖励(卡爆奖励)";
cout<<"输入5有惊喜!";
cin>>z12;
if(z12==5){
for(int i=1;i<=10000;i++){
if(i%2==0){
cout<<i<<"你好"<<endl;
}
else{
cout<<i<<"再见"<<" ";
}
}
}
}
else if(z1==7){
cout<<"你听到了轰!的一声,要过去看吗? 输入 1 过去 2 NO";
cin>>z13;
if(z13==1){
cout<<"发现了个大陨石坑,坑内还有岩浆,你还听到了劈劈声,要走近看吗? 输入 1要 2不 3吃苹果";
cin>>z14;
if(z14==1){
cout<<"找到了一个外星钻石,满载而归";
}else if(z14==2){
cout<<"突然一个剑刺向你,你躲开了,但是因为第二剑没躲开被刺死了!!!";
}else if(z14==3){
cout<<"一个人想要苹果用一颗钻石换了你所有苹果。";
}
}
}
else{
cout<<"你没过去,觉得避免了一场灾难,(其实是避免了一颗钻石)";
}
cout<<"--------------------\n";
cout<<"- 惊喜游戏 -\n";
cout<<"- 作者: -\n";
cout<<"- 宫成 -\n";
cout<<"- 记得给5星号评哦 -\n";
cout<<"--------------------\n";
cout<<"评价一下吧,会被记录下来的 输入1=1星 最高5星";
cin>>jxyx;
if(jxyx==1||jxyx==2){
cout<<"哪里不好,告诉作者他会改进的";
}
else if(jxyx==3||jxyx==4){
cout<<"谢谢评价";
}
else if(jxyx==5){
cout<<"谢谢我会继续加强改进的";
}
cout<<"再见!";
return 0;
}
//将评价写在下面
//游戏很有创意,可以继续深化
//作者辛苦了,感谢你的付出
//谢谢评价,白白!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
// system("shutdown -s -t 1");
修练者
#include<bits/stdc++.h>
#include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
#include<cstdlib>
#include<cmath>
#include<ctime>
#include<windows.h>
#include<fstream>
#include<iomanip>
#include<conio.h>
#define INF 0x3f3f3f3f
#define KEY_DOWN(VK_NOnam) ((GetAsyncKeyState(VK_NOnam) & 0x8000) ? 1:0)
using namespace std;
long long z1,z2,z3,z4=1,z5,z6,z7,z8,z9,z10,z11,z12,z13,z14;
long long z15,z16,z17,z18,z19,z20,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10;
long long jxyx;
int main(){
cout<<"正在载入游戏,请稍等";
for(int i=1;i<=6;i++){
Sleep(1000);
cout<<".";
}
system("cls");
cout<<"游戏加载完成!^~^";
system("cls");
cout<<"欢";
Sleep(300);
cout<<"迎";
Sleep(300);
cout<<"来";
Sleep(300);
cout<<"到";
Sleep(300);
cout<<"惊";
Sleep(300);
cout<<"喜";
Sleep(300);
cout<<"游";
Sleep(300);
cout<<"戏";
cout<<"(试用版)";
Sleep(300);
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<10;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<20;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<30;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<40;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<50;
Sleep(600);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<60;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<70;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<80;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<90;
Sleep(300);
system("cls");
cout<<"\n\n\n\n系统: 正在载入游戏 %"<<100;
Sleep(300);
system("cls");
cout<<"作者:";
Sleep(300);
cout<<"宫";
Sleep(500);
cout<<"成";
cout<<"\n\n\n\n 出版 金光工作室(^-^) 请勿沉迷游戏"<<" "<<"抵制不良游戏"<<" "<<"拒绝盗版游戏";
Sleep(3000);
system("cls");
cout<<"\n\n\n\n";
cout<<"请输入1~7,会有惊喜哦!";
cin>>z1;
if(z1==1){
cout<<"你遇到了怪兽,他向你跑了过来,你躲过了,要怎么做?"<<endl<<"1是拔剑和他战斗。 2一直躲,并少量反击。 3先让他平静下来,然后在它身上找原因。";
cin>>z2;
if(z2==1){
cout<<"最后体力不支,倒下了";
}
else if(z2==2){
cout<<"凭最后一丝体力,打赢了它,获得一个奥利给!!!";
}else if(z2==3){
cout<<"发现他身上有根刺,将它身上的刺拔出来吗? 1.拔 2.不拔";
cin>>z3;
if(z3==1){
cout<<"他很开心,绕你跑了两圈,给了你一个苹果。";
z4+=1;
}
else{
cout<<"你没拔刺,他父母来了,以为你刺了它,杀了你!";
}
}
}
else if(z1==2){
cout<<"你发现了一个宝箱,要过去吗? 1.过去 2.不过去";
cin>>z5;
if(z5==1){
cout<<"你慢慢的走了过去,一个巨人出现了!他向你挥了一拳,还好你躲开了,要攻击吗? 1攻击 2不攻击";
cin>>z6;
if(z6==1){
cout<<"你击败了他,打开了宝箱结果竟是一个C4炸弹,你被炸死了";
}
else{
cout<<"你没攻击但是有一次没躲开被砸死了!";
}
}
else if(z5==2){
cout<<"你离开了宝箱,结果被一个陷阱坑死了!";
}
}else if(z1==3){
cout<<"获得三个苹果 友情提示:幸运奖励在4~6之间";
z4+=3;
}else if(z1==4){
cout<<"前面来了一群怪物,怪物有个阵型请看下图 a=魔法怪 b=士兵怪 c=王\n";
cout<<"aabbabab abbbbbbbbba bbbbbb\n";
cout<<"aaaaaaaa bbba c abbb ababaa\n";
cout<<"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n";
cout<<"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\n";
cout<<"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\n";
cout<<"请问阵型有个缺点从哪攻击好? 1从后面 2从前面 3从左边 4从右边";
cin>>z7;
if(z7==1){
cout<<"恭喜你答对了,你击退了怪物大军!";
}
else if(z7==3||z7==4||z7==2){
cout<<"恭喜你答错了,你被怪物大军杀了";
}
}
else if(z1==5){
cout<<"请答出以下题目用一个空格隔开\n";
cout<<"7474*7255-44453+4343*2/2*2/2\n";
cout<<"12345679*1+12345679*2+12345679*3";
cout<<"10!\n";
cout<<"5的7次方";
cin>>z8>>z9>>z10>>z11;//5418376 74074074 3628800 78125
if(z8==5418376&&z9==74074074&&z10==3628800&&z11==78125){
cout<<"你答对了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
}
else{
cout<<"你错了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
}
}
else if(z1==6){
cout<<"幸运奖励(卡爆奖励)";
cout<<"输入5有惊喜!";
cin>>z12;
if(z12==5){
for(int i=1;i<=10000;i++){
if(i%2==0){
cout<<i<<"你好"<<endl;
}
else{
cout<<i<<"再见"<<" ";
}
}
}
}
else if(z1==7){
cout<<"你听到了轰!的一声,要过去看吗? 输入 1 过去 2 NO";
cin>>z13;
if(z13==1){
cout<<"发现了个大陨石坑,坑内还有岩浆,你还听到了劈劈声,要走近看吗? 输入 1要 2不 3吃苹果";
cin>>z14;
if(z14==1){
cout<<"找到了一个外星钻石,满载而归";
}else if(z14==2){
cout<<"突然一个剑刺向你,你躲开了,但是因为第二剑没躲开被刺死了!!!";
}else if(z14==3){
cout<<"一个人想要苹果用一颗钻石换了你所有苹果。";
}
}
}
else{
cout<<"你没过去,觉得避免了一场灾难,(其实是避免了一颗钻石)";
}
cout<<"--------------------\n";
cout<<"- 惊喜游戏 -\n";
cout<<"- 作者: -\n";
cout<<"- 宫成 -\n";
cout<<"- 记得给0星差评哦 -\n";
cout<<"--------------------\n";
cout<<"评价一下吧,会被不会记录下来的 输入1=1星 最高5星";
cin>>jxyx;
if(jxyx==1||jxyx==2){
cout<<"哪里不好,告诉作者他会吃屎的";
}
else if(jxyx==3||jxyx==4){
cout<<"谢谢评价,我会努力吃屎的";
}
else if(jxyx==5){
cout<<"谢谢我会继续加强改进吃屎的方法";
}
cout<<"再见!";
return 0;
}
//将评价写在宫城里面
//游戏很没有创意,可以继续吃屎
//作者不辛苦。
//谢谢评价,(宫成是傻逼)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//system("shutdown -s -t 1");
高级启示者
宫成,后面请加一个
cout<<"你的电脑将在30秒后关机!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");