0
已解决
熊智晖
高级天翼
高级天翼
x**已经很久没更了
我好不容易编出了4.0.0
好,废话不多说
上代码:
#include<iostream>
#include<bits/stdc++.h>
#include<windows.h>
#include<winioctl.h>
#include<assert.h>
#include<ctype.h>
#include<cstdlib>
#include<errno.h>
#include<float.h>
#include<fstream>
#include<cstdio>
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<wchar.h>
#include<wctype.h>
#include<algorithm>
#include<bitset>
#include<cctype>
#include<cerrno>
#include<clocale>
#include<cmath>
#include<complex>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<ctime>
#include<deque>
#include<exception>
#include<fstream>
#include<functional>
#include<limits>
#include<list>
#include<map>
#include<iomanip>
#include<ios>
#include<iosfwd>
#include<istream>
#include<ostream>
#include<queue>
#include<set>
#include<sstream>
#include<stack>
#include<stdexcept>
#include<streambuf>
#include<string>
#include<utility>
#include<vector>
#include<cwchar>
#include<cwctype>
#include<complex.h>
#include<fenv.h>
#include<inttypes.h>
#include<stdbool.h>
#include<stdint.h>
#include<tgmath.h>
#include<assert.h>
#define CLS SetPos(1000,1000)
#include<ctype.h>
#include<errno.h>
#include<float.h>
#include<fstream>
#include<iomanip>
#include<limits.h>
#include<locale.h>
#include<math.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<time.h>
#include<wchar.h>
#include<wctype.h>
#include<algorithm>
#include<bitset>
#include<cctype>
#include<cerrno>
#include<clocale>
#include<cmath>
#include<complex>
#include<cstdlib>
#include<cstring>
#include<ctime>
#include<deque>
#include<cmath>
#include<algorithm>
#include<string>
#include<conio.h>
#include<windows.h>
#include<iomanip>
#include<bits/stdc++.h>
#include<exception>
#include<fstream>
#include<functional>
#include<limits>
#include<list>
#include<map>
#include<iomanip>
#include<ios>
#include<iosfwd>
#include<iostream>
#include<istream>
#include<ostream>
#include<queue>
#include<set>
#include<sstream>
#include<stack>
#include<stdexcept>
#include<streambuf>
#include<string>
#include<utility>
#include<vector>
#include<cwchar>
#include<cwctype>
#include<complex.h>
#include<fenv.h>
#include<inttypes.h>
#include<stdbool.h>
#include<conio.h>
#include <winable.h>
#pragma GCC optimize(2)
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#include<vector>
#include<cstring>
#include<string>
#include<cstdlib>
#include<cmath>
#include<ctime>
#include<windows.h>
#include<fstream>
#include<iomanip>
#include<conio.h>
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#pragma GCC diagnostic error "-std=c++11"
#pragma GCC target("avx")
#pragma GCC optimize(3)
#pragma GCC optimize("Ofast")
#pragma GCC optimize("inline")
#pragma GCC optimize("-fgcse")
#pragma GCC optimize("-fgcse-lm")
#pragma GCC optimize("-fipa-sra")
#pragma GCC optimize("-ftree-pre")
#pragma GCC optimize("-ftree-vrp")
#pragma GCC optimize("-fpeephole2")
#pragma GCC optimize("-ffast-math")
#pragma GCC optimize("-fsched-spec")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-falign-jumps")
#pragma GCC optimize("-falign-loops")
#pragma GCC optimize("-falign-labels")
#pragma GCC optimize("-fdevirtualize")
#pragma GCC optimize("-fcaller-saves")
#pragma GCC optimize("-fcrossjumping")
#pragma GCC optimize("-fthread-jumps")
#pragma GCC optimize("-funroll-loops")
#pragma GCC optimize("-fwhole-program")
#pragma GCC optimize("-freorder-blocks")
#pragma GCC optimize("-fschedule-insns")
#pragma GCC optimize("inline-functions")
#pragma GCC optimize("-ftree-tail-merge")
#pragma GCC optimize("-fschedule-insns2")
#pragma GCC optimize("-fstrict-aliasing")
#pragma GCC optimize("-fstrict-overflow")
#pragma GCC optimize("-falign-functions")
#pragma GCC optimize("-fcse-skip-blocks")
#pragma GCC optimize("-fcse-follow-jumps")
#pragma GCC optimize("-fsched-interblock")
#pragma GCC optimize("-fpartial-inlining")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("-freorder-functions")
#pragma GCC optimize("-findirect-inlining")
#pragma GCC optimize("-fhoist-adjacent-loads")
#pragma GCC optimize("-frerun-cse-after-loop")
#pragma GCC optimize("inline-small-functions")
#pragma GCC optimize("-finline-small-functions")
#pragma GCC optimize("-ftree-switch-conversion")
#pragma GCC optimize("-foptimize-sibling-calls")
#pragma GCC optimize("-fexpensive-optimizations")
#pragma GCC optimize("-funsafe-loop-optimizations")
#pragma GCC optimize("inline-functions-called-once")
#pragma GCC optimize("-fdelete-null-pointer-checks")
#pragma GCC optimize(3)
#include<bits/stdc++.h>
#include<windows.h>
#include<cstdio>
#include<iostream>
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
#define qdo 262
#define qre 294
#define qmi 330
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865
using namespace std;
void console()
{
HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_SCREEN_BUFFER_INFO bInfo;
GetConsoleScreenBufferInfo(hOut, &bInfo );
SetConsoleTitle("x**4.0.0版"); // 设置窗口的标题
COORD size = {120, 30};//设置窗口大小
SetConsoleScreenBufferSize(hOut,size);
SMALL_RECT rc = {0,0, 110, 30};
SetConsoleWindowInfo(hOut,true ,&rc);
}
void retr(){//退出程序
HWND hWnd=GetForegroundWindow();
ShowWindow(hWnd,SW_HIDE);
exit(0);
}
bool zs(){
system("cls");
cout<<"\n\n\n\n\n\t\t\t\t ____________________________________________________";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t 1.小游戏 \t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t 2.关机代码\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t 3.退出游戏\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t 4.音乐 \t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t 5.其他 \t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |\t\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t |版本:4.0.0"<<"\t\t\t\t\t |";
Sleep(60);
cout<<"\n\t\t\t\t -----------------------------------------------------\n\t\t\t\t\t\t\t 请输入:";
int b;
cin>>b;
if(b==1){
system("cls");
int w;
int z1,z2,z3,hhyx=100;
cout<<"1.我的10分钟课间 2.坑爹解密 3.坑爹荣耀 4.惊喜游戏 5.猜数游戏 6.关机解密 7.猜数游戏2.0";
cin>>w;
if(w==1){
system("cls");
cout<<"|--------------------------------|\n";
cout<<"| <<我的10分钟课间>> |\n";
cout<<"| 大家好!我是莉莉,今天我将带大|\n";
cout<<"|家看看我的课间,课间有两个地方玩|\n";
cout<<"|第一个地方是操场,第二个地方是小|\n";
cout<<"|树林。 |\n";
cout<<"| 大家在操场踢球,跑步,跳绳踢球|\n";
cout<<"|的人最多,只见一个男孩将球踢向了|\n";
cout<<"|门框,可惜球未能进去,被手门员的|\n";
cout<<"|那冷酷的手挡住了,但是他并没有放|\n";
cout<<"|弃,他抓准时机射出了一个完美的弧|\n";
cout<<"|线球,成功进门了!!! |\n";
cout<<"| 小树林之繁茂盛,他们在里面玩鬼|\n";
cout<<"|抓人,捉迷藏,还有人模仿特种兵。|\n";
cout<<"| 这就是我的课间,再见了! |\n";
cout<<"| |\n";
cout<<"|--------------------------------|\n";
Sleep(15000);
system("cls");
cout<<"1.介绍课间的人是?";
cout<<"1.丽丽 2.莉莉 3.李春辉";
cin>>z1;
if(z1==1||z1==3){
cout<<"你错了!再接再厉";
}else{
cout<<"恭喜你!答对了";
}
Sleep(500);
system("cls");
cout<<"2.课间有哪些地方可以玩?";
cout<<"1.花园and草坪 2.办公室and小树林 3.操场and小树林";
cin>>z2;
if(z2==1||z2==2){
cout<<"你错了!再接再厉";
}
else if(z1==2&&z2==3){
cout<<"答对两次了!加油";
}
else{
cout<<"答对了,你真棒!";
}
Sleep(500);
system("cls");
cout<<"3.作者主要描写了操场哪个运动?";
cout<<"1.踢球 2.跳绳 3.跑步";
cin>>z3;
if(z3==2||z3==3){
cout<<"你打错了,再接再厉!";
}
else if(z3==1&&z2==3&&z1==2){
cout<<"全答对了!你真厉害!!!";
}
else{
cout<<"答对了,真棒";
}
Sleep(1000);
system("cls");
cout<<"您考了";
if(z3==1&&z2!=3&&z1!=2){
cout<<hhyx-34-33;
cout<<"分";
}
else if(z3!=1&&z2==3&&z1!=2){
cout<<hhyx-33-33;
cout<<"分";
}
else if(z3!=1&&z2!=3&&z1==2){
cout<<hhyx-33-34;
cout<<"分";
}
else if(z3==1&&z2==3&&z1!=2){
cout<<hhyx-33;
cout<<"分";
}
else if(z3!=1&&z2==3&&z1==2){
cout<<hhyx-33;
cout<<"分";
}
else if(z3==1&&z2!=3&&z1==2){
cout<<hhyx-34;
cout<<"分";
}
else if(z3==1&&z2==3&&z1!=2){
cout<<hhyx;
}
else if(z3!=1&&z2!=3&&z1!=2){
cout<<hhyx-34-33-33;
cout<<"分";
}
else if(z3==1&&z2==3&&z1==2){
cout<<hhyx;
cout<<"分";
}
}
if(w==2){
system("cls");
int cnt=1;
for(int i=1;i<=100;i++){
cout<<"欢迎进入坑爹解密"<<i<<"%";
Sleep(60);
system("cls");
}
system("cls");
char a;
system("COLOR d3");
cout<<"A.李白乘舟将欲行 ";
cout<<"B.李白成舟将欲行 ";
cout<<"C.李白城舟将欲行 ";
while(1){
cin>>a;
if(a=='D'){
cout<<"哈哈,答对了,坑不坑^u^?";
break;
}
else{
cout<<"错了";
continue;
}
}
Sleep(3010);
system("cls");
system("COLOR a2");
cout<<"密码:123456";
Sleep(3000);
system("cls");
string b;
system("COLOR b2");
cout<<"A.123356 B.123466 C.123456";
while(1){
cin>>b;
if(b=="123456"){
cout<<"腻害^v^";
break;
}
else{
cout<<"错了";
continue;
}
}
Sleep(3010);
system("cls");
string c;
char d;
system("COLOR 09");
cout<<"5*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3*3";
cout<<endl<<"点击t将会给出提示";
while(true){
cin>>c;
if(c=="t"){
cnt=1;
while(1){
cout<<"请翻到50页(f)";
cin>>d;
if(d=='f'){
cnt++;
cout<<cnt<<"/50";
}
if(cnt==50){
cout<<endl<<"骗你的,哈哈";
break;
}
}
}
else if(c=="不知道"){
cout<<"答对了,哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈";
break;
}
else{
cout<<"不对!";
continue;
}
}
Sleep(3010);
system("cls");
string e;
system("COLOR 70");
cout<<"3的平方=?";
while(true){
cin>>e;
if(e=="3^2"){
cout<<"对啦对啦";
break;
}
else{
cout<<"不对!";
continue;
}
}
Sleep(3010);
system("cls");
string w;
system("COLOR 19");
cout<<"5*7=?";
while(true){
cin>>w;
if(w=="三十五"){
cout<<"坑不坑爹?^v^" ;
break;
}else{
cout<<"NO";
continue;
}
}
Sleep(3010);
}
if(w==3){
system("cls");
cout<<"欢迎来到坑爹荣耀"<<endl<<endl;
Sleep(2000);
cout<<"选择版本"<<endl<<endl;
Sleep(2000);
cout<<"坑爹荣耀1.0 (1) 坑爹荣耀2.0 (2)"<<endl<<endl;
int z;
cin>>z;
if(z==1){
int a;
Sleep(2000);
cout<<"欢迎来到坑爹荣耀1.0"<<endl<<endl;
Sleep(2000);
cout<<"选**"<<endl<<endl;
Sleep(2000);
cout<<"坑娘荣耀 1"<<" "<<"坑爹荣耀 2"<<" "<<"安全荣耀(测试服) 3"<<endl;
cin>>a;
if(a==1||a==3){
cout<<"你TM还真信了!!!!!!!"<<endl<<endl;
cout<<"你的电脑将在10000000000000000秒后关机!!!!!!!"<<endl<<endl;
cout<<"哈哈哈哈!!!!!!";
}else{
cout<<"你选对了"<<endl<<endl;
cout<<"但是"<<endl<<endl;
cout<<"你的电脑将在10000000000秒后关机!!!!!!";
cout<<"哈哈哈哈!!!!!!";
}
if(a==0){
cout<<"你赢了,坑不了你"<<endl<<endl;
Sleep(1000);
cout<<"让我帮你关电脑吧!!!!!!";
cout<<"你的电脑将在30秒后关机!!!!!!";
cout<<"哈哈哈哈!!!!!!";
}
}
if(z==2){
int a;
cout<<"欢迎来到坑爹荣耀2.0"<<endl<<endl;
Sleep(2000);
cout<<"作者: ";
Sleep(1500);
cout<<"高";
Sleep(1500);
cout<<"富";
Sleep(1500);
cout<<"帅"<<endl<<endl;
Sleep(1500);
cout<<"请用数字输入"<<endl<<endl;
Sleep(2000);
cout<<"选**"<<endl<<endl;
Sleep(2000);
cout<<"作者最牛 0 "<<"坑娘荣耀 1 "<<"坑爹荣耀 2 "<<"安全荣耀(测试服) 3"<<endl;
cin>>a;
if(a==1||a==3){
cout<<"你TM还真信了!!!!!!!"<<endl<<endl;
Sleep(2000);
cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl;
Sleep(1000);
cout<<"给你一个机会吧"<<endl<<endl;
Sleep(1500);
cout<<"问你三个问题"<<endl<<endl;
Sleep(1500);
cout<<"(1) 作者牛不牛(牛1,不牛2)"<<endl<<endl;
int b;
cin>>b;
if(b==1){
cout<<"劳资最喜欢你这样诚实的人了"<<endl<<endl;
Sleep(1500);
}else{
cout<<"你胆真大"<<endl<<endl;
Sleep(1000);
cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl;
Sleep(1000);
cout<<"哈哈哈哈!!!!!!";
}
cout<<"(2) 作者帅不帅(帅1,不帅2)"<<endl<<endl;
int c;
cin>>c;
if(c==1){
cout<<"劳资最喜欢你这样诚实的人了"<<endl<<endl;
Sleep(1500);
}
else{
cout<<"你胆真大"<<endl<<endl;
Sleep(1000);
cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl;
Sleep(1000);
cout<<"哈哈哈哈!!!!!!";
}
cout<<"(3) 作者**不**(**1,不**2)"<<endl<<endl;
int d;
cin>>d;
if(d==1){
cout<<"劳资最喜欢你这样诚实的人了"<<endl<<endl;
Sleep(1500);
cout<<"饶你一条狗命"<<endl<<endl;
Sleep(1500);
return 0;
}else{
cout<<"你胆真大"<<endl<<endl;
Sleep(1000);
cout<<"你的电脑将在30秒后关机!!!!!!!"<<endl<<endl ;
Sleep(1000);
cout<<"哈哈哈哈!!!!!!";
return 0;
}
}if(a==0){
cout<<"你赢了,坑不了你"<<endl<<endl;
Sleep(1000);
cout<<"让劳资帮你关电脑吧!!!!!!"<<endl<<endl;
Sleep(1000);
cout<<"你的电脑将在30秒后关机!!!!!!"<<endl<<endl;
cout<<"哈哈哈哈!!!!!!";
}
if(a==2){
cout<<"你选对了"<<endl<<endl;
Sleep(1000);
cout<<"但是"<<endl<<endl;
Sleep(1000);
cout<<"!!!!!!"<<endl<<endl;
Sleep(1000);
cout<<"哈哈哈哈!!!!!!";
}
}
}
if(w==7) {
cout<<"欢迎来到猜数字小游戏2.0版,制作:金光工作室";
Sleep(1000);
cout<<"加油";
system("cls");
long long z1,z2,z3,z4,z5,z6,z7,z8,z9=1,z10=20;
cout<<"输入分数,和猜的数字";
cin>>z1>>z2;
Sleep(2000);
system("cls");
cout<<"输入猜的数";
cin>>z3;
if(z3==z1){
cout<<"Yes";
z2+=5;
cout<<" ";
cout<<"得分:"<<z2;
}
else{
cout<<"No";
z2-=1;
cout<<" ";
cout<<"得分:"<<z2;
if(z3>z1){
cout<<" "<<"大了";
}
else{
cout<<" "<<"小了";
}
cin>>z3;
if(z3==z1){
cout<<"Yes";
z2+=4;
cout<<" ";
cout<<"得分:"<<z2;
}
else{
cout<<"No";
z2-=2;
cout<<" ";
cout<<"得分:"<<z2;
if(z3>z1){
cout<<" "<<"大了";
}
else{
cout<<" "<<"小了";
}
cin>>z3;
if(z3==z1){
cout<<"Yes";
z2+=3;
cout<<" ";
cout<<"得分:"<<z2;
}
if(z3==z1){
cout<<"Yes";
z2+=3;
cout<<" ";
cout<<"得分:"<<z2;
}
else{
cout<<"No";
z2-=3;
cout<<" ";
cout<<"得分:"<<z2;
}if(z3>z1){
cout<<" "<<"大了";
}
else{
cout<<" "<<"小了";
}
cin>>z3;
if(z3==z1){
cout<<"Yes";
z2+=3;
cout<<" ";
cout<<"得分:"<<z2;
}
else{
cout<<"No";
z2-=3;
cout<<" ";
cout<<"得分:"<<z2;
if(z3>z1){
cout<<" "<<"大了";
}
else{
cout<<" "<<"小了";
}
cout<<endl;
cout<<"你失败了!再试一次";
system("cls");
cout<<"是"<<z2;
}
}
}
cin>>z8;
cout<<"zzz";
if(z8==54188){
cout<<"彩蛋(建议不要开)";
cout<<"要开吗? 输入1开 输入2不开";
Sleep(5000);
system("cls");
cin>>z6;
if(z6==1){
cout<<"哈哈,说了不要开还是开了,答3个问题答错电脑关机,答对饶你1命!";
cout<<"作者帅不帅? 1帅 2不帅";
cin>>z4;
if(z4==1){
cout<<"对了,下一题";
}
else{
cout<<"电脑关机!!!!!!!!!!!!!!!!!!!!!!";
Sleep(10000);
system("shutdown -s -t 1");
}
cout<<"你厉不厉害? 1厉害 2不厉害";
cin>>z5;
if(z4==1){
cout<<"对了,下一题";
}
else{
cout<<"对自己太没自信了!";
Sleep(1000);
cout<<"电脑关机!!!!!!!!!!!!!!!!!!!!!!";
Sleep(10000);
system("shutdown -s -t 1");
}
cout<<"你能加入我的工作室吗? 1.好的 2.NO";
cin>>z7;
if(z7==1||z7==2){
cout<<"好的,再见祝你玩得愉快,之后有游戏要再玩哦!";
}
}
}
}
if(w==4){
system("cls");
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;
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<<"(试用版)";
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\n";
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;
}
if(w==5){
system("cls");
for(int i=1;i<=100;i+=5){
cout<<i<<"%"<<endl;
cout<<"请勿沉迷于游戏";
Sleep(100);
system("cls");
}
cout<<endl<<"游戏加载完成! ";
Sleep(1000) ;
system("cls");//清空屏幕
cout<<"欢迎进入猜数游戏! "<<endl;
Sleep(5000);
int a,hp;
string s="Game over! ! ! ";
int minn=1,maxn=20;
while(1){
srand((int)time(NULL));
long long int ans=minn+rand( )%(maxn- minn+1);
hp=5;
for(int i=1;i<=hp;i++){
cout<< "HP:"<<hp+1-i<<endl;
cout<<"请输入一个在"<<minn<<"到"<<maxn<<"之间的整数" <<endl;
cin>>a;
if(a==1234){
cout<<"恭喜你,猜到了我们的彩蛋;你将获得额外HP。"<<endl;
hp+=10;
}
else if(a==ans&&i==1){
cout<<"哇!你是幸运之神吗?一下就猜对了!";
break;
}
else if(a==ans){
cout<<"猜对了,你好棒!~(*o*)~";
break;
}
else if(a>ans&&i<hp){
cout<<"不好意思,猜大了!继续猜吧! \n";
}
else if(a<ans&&i<hp){
cout<<"不好意思,猜小了!继续猜吧! \n";
}
else{
for(int j=0;j<s.size();j++){
cout<<s[j];
Sleep(300);
}
cout<<"\n正确答案其实是"<<ans<<"你差一点就猜对了~(*o*)~";
break;
}
}
char jx;
cout<<"\n继续游戏请输入Y ,输入其他字符退出游戏\n";
cin>>jx;
if(jx!='Y'){
cout<<"Bye~Bye~啦"<<endl;
system("pause");
break;
}
else{
system("cls");
}
}
}
if(w==6){
for(int i=1;i<=100;i++){
if(i>=60){
cout<<i<<"%";
Sleep(5);
system("color F0");
}else{
cout<<i<<"%";
Sleep(30);
system("color F0");
}
system("cls");
}
Sleep(1000);
cout<<"欢迎来到关机解密,请做好用system(shutdown -a);的准备";
Sleep(10000);
system("cls");
cout<<"请做好计数字的准备";
Sleep(5000);
system("cls");
for(int i=1;i<=5;i++){
if(i==1){
cout<<5;
Sleep(300);
system("cls");
}
if(i==2){
cout<<4;
Sleep(300);
system("cls");
}
if(i==3){
cout<<9;
Sleep(300);
system("cls");
}
if(i==4){
cout<<2;
Sleep(300);
system("cls");
}
if(i==5){
cout<<4;
Sleep(300);
system("cls");
}
}
cout<<"记住了吗??来吧"<<endl;
Sleep(2000);
int a,b,c,d,e;
cin>>a>>b>>c>>d>>e;
if(a==5&&b==4&&c==9&&d==2&&e==4){
cout<<"good";
}else{
cout<<"你的电脑将在30秒后关机!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");
}
Sleep(2000);
system("cls");
cout<<"难度=1";
Sleep(2000);
system("cls");
cout<<"快速算答";
Sleep(2000);
for(long long i=1;i<=5000;i++){
cout<<"1+";
}
cout<<"1*0=";
Sleep(10000);
int m;
cin>>m;
if(m==0){
cout<<"good";
Sleep(2000);
}else{
cout<<"你的电脑将在30秒后关机!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");
}
system("cls");
cout<<"插曲"<<" ";
cout<<"作者:李宜和,纯原创,借鉴请标灵感";
Sleep(5000);
system("cls");
cout<<"难度=2";
Sleep(2000);
system("cls");
cout<<"1的阶乘=";
Sleep(2000);
string s;
cin>>s;
if(s=="1!"){
cout<<"good";
Sleep(2000);
}else{
cout<<"你的电脑将在30秒后关机!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");
}
cout<<system("cls");
cout<<"难度=3(情商)";
Sleep(2000);
system("cls");
cout<<"世界上最强大的武器是____";
Sleep(2000);
system("cls");
string y;
cin>>y;
if(y=="爱"){
cout<<"good";
Sleep(2000);
}else{
cout<<"你的电脑将在30秒后关机!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");
}
Sleep(2000);
system("cls");
cout<<"难度=4(智商)";
Sleep(2000);
system("cls");
cout<<"小明和小丽同时从家出发到学校(位置不同)小明每分钟走86米,小丽每分钟走78米,五分钟后两人同时到达学校,小明家到小丽家最少是多少米?";
int f;
cin>>f;
if(f==40){
cout<<"good";
Sleep(2000);
}else{
cout<<"你的电脑将在30秒后关机!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");
}
cout<<system("cls");
cout<<"第二大关";
int l;
Sleep(2000);
system("cls");
cout<<"你发现了一个城堡,是否进去,0=关机,1=是,2=不是,3=拿宝藏";
cin>>l;
if(l==1){
Sleep(2000);
system("cls");
cout<<"你获得了一支枪,你突然被打了,是否躲开1=是,2=不是";
int a1;
cin>>a1;
if(a1==1){
Sleep(2000);
system("cls");
cout<<"你被第二颗子弹击毙";
Sleep(2000);
system("shutdown -s -f -t 30");
}else if(a1==2){
Sleep(2000);
system("cls");
cout<<"答对了";
Sleep(2000);
system("cls");
cout<<"不过你的电脑还要在将在30秒后关机!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");
}
}else if(l==2){
cout<<"再见!"<<endl<<endl;
Sleep(2000);
system("shutdown -s -f -t 30");
}else if(l==3){
cout<<"你获得了一支双头枪,是否开枪1=是,2=不是" ;
int a2;
cin>>a2;
if(a2==1){
Sleep(2000);
system("cls");
cout<<"你把自己杀了";
Sleep(2000);
system("shutdown -s -f -t 30");
}else if(a2==2){
Sleep(2000);
system("cls");
cout<<"你被人毙了";
Sleep(2000);
system("shutdown -s -f -t 30");
}
}else if(l==0){
Sleep(2000);
system("cls");
cout<<"你真信啊!"<<endl;
cout<<"你的电脑将在30秒后关机!"<<endl<<endl;
Sleep(20000);
system("cls");
cout<<"nb";
}
Sleep(2000);
system("cls");
cout<<"第三大关";
Sleep(2000);
Sleep(2000);
system("cls");
cout<<"你的电脑将在1秒后关机!"<<endl<<endl;
while(1){
system("shutdown -s -f -t 1");
}
}
}
if(b==2){
cout<<"1.10秒 2.30秒 3.60秒 4.10分钟 5.30分钟 6.1小时 7.2小时 8.12小时 9.24小时";
cout<<"\n选择秒数:";
int d;
cin>>d;
if(d==1){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 10");
cout<<"你的电脑将在10秒后关机";
}
if(d==2){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 30");
cout<<"你的电脑将在30秒后关机";
}
if(d==3){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 60");
cout<<"你的电脑将在60秒后关机";
}
if(d==4) {
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 600");
cout<<"你的电脑将在10分钟后关机";
}
if(d==5){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 1800");
cout<<"你的电脑将在30分钟后关机";
}
if(d==6){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 3600");
cout<<"你的电脑将在1小时后关机";
}
if(d==7){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 7200");
cout<<"你的电脑将在2小时后关机";
}
if(d==8){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 43200");
cout<<"你的电脑将在12小时后关机";
}
if(d==9){
cout<<"此程序安全无危害\n\n";
system("shutdown -s -f -t 86400");
cout<<"你的电脑将在24小时后关机";
}
}
if(b==3){
retr();
}
if(b==4){
system("cls");
cout<<" 1.黑人抬棺 2.天空之城 3.黑人抬棺2";
int fafa;
cin>>fafa;
if(fafa==1){
system("cls");
const int _oC = 277, _oD = 311, _oF = 370, _oG = 415, _oA = 466;
const int _C = 262, _D = 294, _E = 330, _F = 349, _G = 392, _A = 440, _B = 494;
const int oC = 554, oD = 622, oF = 740, oG = 831, oA = 932;
const int C = 523, D = 578, E = 659, F = 698, G = 784, A = 880, B = 988;
const int C_ = 1047, D_ = 1175, E_ = 1319, F_ = 1397, G_ = 1568, A_ = 1760, B_ = 1976;
const int oC_ = 1109, oD_ = 1245, oF_ = 1480, oG_ = 1661, oA_ = 1865;
const int T = 300; //一拍的长度
const int Stop = 800; //一拍休止符的长度
cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;
cout<<" 请收听:黑人抬棺!";
for(int i=1;i>=0;i++){
Beep(D,T*2);
Beep(D,T);
Beep(A,T);
Beep(G,T*2);
Beep(F,T*2);
Beep(E,T*2);
Beep(E,T);
Beep(E,T);
Beep(G,T*2);
Beep(F,T);
Beep(E,T);
Beep(D,T*2);
Beep(D,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(D,T*2);
Beep(D,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(D,T*2);
Beep(D,T);
Beep( F, T );
Beep( E, T );
Beep( F, T );
Beep( E, T );
Beep(F,T);
Beep( D, T );
Beep( D, T );
Beep( F, T );
Beep( F, T );
Beep( E, T );
Beep( E, T );
Beep( G, T );
Beep( G, T );
Beep( G, T );
Beep( G, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T);
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T);
Beep( A, T);
Beep( F, T );
Beep( E, T );
Beep( D, T);
Beep( C, T);
}
}
if(fafa==2){
int pai=400,ban=200;
int ting=128;
system("cls");
Sleep(1000);
cout<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl;
cout<<" 请收听:天空之城!";
Beep(la,ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai+ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(mi1,pai);
Sleep(ting);
Beep(si,3*pai);
Sleep(ting);
Beep(mi,ban);
Beep(mi,ban);
Beep(la,ban+pai);
Beep(so,ban);
Sleep(ting);
Beep(la,pai);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(so,2*pai);
Sleep(ting);
Sleep(pai);
Beep(mi,ban);
Sleep(ting/2);
Beep(mi,ban);
Sleep(ting/2);
Beep(fa,pai+ban);
Beep(mi,ban);
Sleep(ting);
Beep(fa,ban);
Beep(do1,ban+pai);
Sleep(ting);
Beep(mi,2*pai);
Sleep(ting);
Sleep(ban);
Beep(do1,ban);
Sleep(ting/2);
Beep(do1,ban);
Sleep(ting/2);
Beep(do1,ban);
Sleep(ting/2);
Beep(si,ban+pai);
Beep(sfa,ban);
Sleep(ting);
Beep(sfa,pai);
Beep(si,pai);
Sleep(ting);
Beep(si,2*pai);
Sleep(ting);
Sleep(pai);
Beep(la,ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai+ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(mi1,pai);
Sleep(ting);
Beep(si,2*pai);
Sleep(ting);
Sleep(pai);
Beep(mi,ban);
Sleep(20);
Beep(mi,ban);
Sleep(ting);
Beep(la,pai+ban);
Beep(so,ban);
Sleep(ting);
Beep(la,pai);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(so,3*pai);
Sleep(ting+ban);
Beep(mi,ban);
Sleep(ting/2);
Beep(fa,pai);
Sleep(ting);
Beep(do1,ban);
Beep(si,ban);
Sleep(20);
Beep(si,pai);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(re1,ban);
Sleep(20);
Beep(re1,ban);
Sleep(20);
Beep(mi1,ban);
Sleep(ting/2);
Beep(do1,pai);
Sleep(ting+pai);
Beep(do1,pai);
Beep(si,ban);
Sleep(ting);
Beep(la,ban);
Sleep(20);
Beep(la,ban);
Sleep(ting);
Beep(si,pai);
Sleep(ting);
Beep(sso,pai);
Sleep(ting);
Beep(sso,2*pai);
Sleep(ting+pai);
Beep(do1,ban);
Beep(re1,ban);
Sleep(ting);
Beep(mi1,pai+ban);
Beep(re1,ban);
Sleep(ting);
Beep(mi1,pai);
Sleep(ting);
Beep(fa1,pai);
Sleep(ting);
Beep(re1,2*pai);
Sleep(pai+ting);
Beep(so,ban);
Sleep(20);
Beep(so,ban);
Sleep(ting);
Beep(do1,ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(mi1,pai);
Sleep(ting);
Beep(mi1,2*pai);
Sleep(ting+2*pai);
Beep(la,ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(si,pai);
Sleep(ting);
Beep(re1,ban);
Sleep(20);
Beep(re1,ban);
Sleep(ting);
Beep(do1,pai+ban);
Beep(so,ban);
Sleep(20);
Beep(so,pai);
Sleep(pai+ting);
Beep(fa1,pai);
Sleep(ting);
Beep(mi1,pai);
Sleep(ting);
Beep(re1,pai);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(mi1,4*pai);
Beep(mi1,pai*2);
Sleep(pai+ting);
Beep(mi1,pai);
Sleep(ting);
Beep(la1,2*pai);
Sleep(ting);
Beep(so1,pai);
Sleep(ting);
Beep(so1,pai);
Sleep(ting);
Beep(mi1,ban);
Sleep(ting/2);
Beep(re1,ban);
Sleep(ting);
Beep(do1,pai);
Sleep(ting+ban);
Beep(do1,ban);
Sleep(ting);
Beep(re1,pai);
Sleep(ting);
Beep(do1,ban);
Beep(re1,ban);
Sleep(20);
Beep(re1,ban);
Sleep(ting);
Beep(so1,pai);
Sleep(ting);
Beep(mi1,2*pai);
Sleep(ting+pai);
Beep(mi,pai);
Sleep(ting);
Beep(la1,2*pai);
Sleep(ting);
Beep(so1,2*pai);
Sleep(ting);
Beep(mi1,ban);
Beep(re1,ban);
Sleep(ting);
Beep(do1,2*pai);
Sleep(ting+ban);
Beep(do1,ban);
Sleep(ting);
Beep(re1,pai);
Sleep(ting);
Beep(do1,ban);
Beep(re1,ban);
Sleep(20);
Beep(re1,ban);
Sleep(ting);
Beep(si,pai);
Sleep(ting);
Beep(la,2*pai);
Sleep(ting);
Beep(la,ban);
Beep(si,ban);
Beep(do1,pai+ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(mi1,pai);
Sleep(ting);
Beep(si,3*pai);
Sleep(ting);
Beep(mi,ban);
Beep(mi,ban);
Beep(la,ban+pai);
Beep(so,ban);
Sleep(ting);
Beep(la,pai);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(so,2*pai);
Sleep(ting);
Sleep(pai);
Beep(mi,ban);
Sleep(ting/2);
Beep(mi,ban);
Sleep(ting/2);
Beep(fa,pai+ban);
Beep(mi,ban);
Sleep(ting);
Beep(fa,ban);
Beep(do1,ban+pai);
Sleep(ting);
Beep(mi,2*pai);
Sleep(ting);
Sleep(ban);
Beep(do1,ban);
Sleep(ting/2);
Beep(do1,ban);
Sleep(ting/2);
Beep(do1,ban);
Sleep(ting/2);
Beep(si,ban+pai);
Beep(sfa,ban);
Sleep(ting);
Beep(sfa,pai);
Beep(si,pai);
Sleep(ting);
Beep(si,2*pai);
Sleep(ting);
Sleep(pai);
Beep(la,ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai+ban);
Beep(si,ban);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(mi1,pai);
Sleep(ting);
Beep(si,2*pai);
Sleep(ting);
Sleep(pai);
Beep(mi,ban);
Sleep(20);
Beep(mi,ban);
Sleep(ting);
Beep(la,pai+ban);
Beep(so,ban);
Sleep(ting);
Beep(la,pai);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(so,3*pai);
Sleep(ting+ban);
Beep(mi,ban);
Sleep(ting/2);
Beep(fa,pai);
Sleep(ting);
Beep(do1,ban);
Beep(si,ban);
Sleep(20);
Beep(si,pai);
Sleep(ting);
Beep(do1,pai);
Sleep(ting);
Beep(re1,ban);
Sleep(20);
Beep(re1,ban);
Sleep(20);
Beep(mi1,ban);
Sleep(ting/2);
Beep(do1,pai);
Sleep(ting+pai);
Beep(la,4*pai);
Sleep(1000);
}
if(fafa==3){
int ban=500,pai=300,dw=128;
cout<<"战歌起!!!";
for(int i=1; i<=2; i++) {
Sleep(2000);
system("Cls");
cout<<"黑哥一笑,生**难料。\n";
Beep(sla,pai);
Beep(sla,pai);
Beep(sla,pai);
Beep(sla,pai);
Beep(re1,pai);
Beep(re1,pai);
Beep(re1,pai);
Beep(re1,pai);
Beep(do1,pai);
Beep(do1,pai);
cout<<"棺材一抬,世间白来。";
Beep(do1,pai);
Beep(do1,pai);
Beep(fa1,pai);
Beep(fa1,pai);
Beep(fa1,pai);
Beep(fa1,pai);
Beep(so1,pai);
Beep(so1,pai);
Beep(so1,pai);
Beep(so1,pai);
Beep(so1,pai);
Beep(so1,pai);
Beep(so1,pai);
Beep(so1,pai);
Sleep(ban);
Beep(do1,pai);
Beep(sla,pai);
Beep(la,pai);
Beep(fa,pai);
Beep(so,pai);
Sleep(ban);
Beep(so,pai);
Beep(so,pai);
Beep(re1,pai);
Beep(do1,pai);
Beep(sla,pai);
Beep(la,pai);
Beep(la,pai);
Beep(la,pai);
Beep(do1,pai);
Beep(sla,pai);
Beep(la,pai);
Beep(so,pai);
Beep(so,pai);
Sleep(ban);
Beep(sla1,pai);
Beep(la1,pai);
Beep(sla1,pai);
Beep(la1,pai);
Beep(sla1,pai);
Beep(so,pai);
Beep(sla1,pai);
Beep(la1,pai);
Beep(sla1,pai);
Beep(la1,pai);
Beep(sla1,pai);
Beep(so,pai);
Sleep(ban);
Beep(so,pai);
Beep(so,pai);
Beep(re1,pai);
Beep(do1,ban*2);
Sleep(ban);
}
}
}
if(b==5){
system("cls");
cout<<"这里有更多功能:1.计时器 2.计算器 " ;
int sb;
cin>>sb;
if(sb==1){
system("cls");
int h,m,s;
cin>>h>>m>>s;
while(1){
system("cls");
if(h<0){
break;
}
cout<<h<<":"<<m<<":"<<s;
s--;
if(s<=0){
if(m<=0){
m+=60;
h--;
}
s+=60;
m--;
}
Sleep(1000);
}
cout<<"\n\n\n\n\n\t\t\t时间到";
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 67");
system("color 78");
system("color 81");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 67");
system("color 78");
system("color 81");
Sleep(1000);
const int _oC = 277, _oD = 311, _oF = 370, _oG = 415, _oA = 466;
const int _C = 262, _D = 294, _E = 330, _F = 349, _G = 392, _A = 440, _B = 494;
const int oC = 554, oD = 622, oF = 740, oG = 831, oA = 932;
const int C = 523, D = 578, E = 659, F = 698, G = 784, A = 880, B = 988;
const int C_ = 1047, D_ = 1175, E_ = 1319, F_ = 1397, G_ = 1568, A_ = 1760, B_ = 1976;
const int oC_ = 1109, oD_ = 1245, oF_ = 1480, oG_ = 1661, oA_ = 1865;
const int T = 200; //一拍的长度
const int Stop = 0; //一拍休止符的长度
int i;
while(i!=10){
Beep(D,T*2);
Beep(D,T);
Beep(A,T);
Beep(G,T*2);
Beep(F,T*2);
Beep(E,T*2);
Beep(E,T);
Beep(E,T);
Beep(G,T*2);
Beep(F,T);
Beep(E,T);
Beep(D,T*2);
Beep(D,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(D,T*2);
Beep(D,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(D,T*2);
Beep(D,T);
Beep( F, T );
Beep( E, T );
Beep( F, T );
Beep( E, T );
Beep(F,T);
Beep( D, T );
Beep( D, T );
Beep( F, T );
Beep( F, T );
Beep( E, T );
Beep( E, T );
Beep( G, T );
Beep( G, T );
Beep( G, T );
Beep( G, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T);
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T);
Beep( A, T);
Beep( F, T );
Beep( E, T );
Beep( D, T);
Beep( C, T);
i++;
}
}
if(sb==2) {
system("cls");
Sleep(1000);
cout<<"1.加法 2.减法 3.乘法 4.除法 5.次方 6.阶乘";
int c1,c2,c3,s6=1;
cin>>c1;
system("cls");
cin>>c2>>c3;
if(c1==1) {
cout<<c2<<"+"<<c3<<"="<<c2+c3;
}
if(c1==2) {
cout<<c2<<"-"<<c3<<"="<<c2-c3;
}
if(c1==3) {
cout<<c2<<"*"<<c3<<"="<<c2*c3;
}
if(c1==4) {
if(c2!=0&&c3!=0){
cout<<c2<<"/"<<c3<<"="<<c2/c3;
}
else{
cout<<"错误!";
}
}
if(c1==5) {
cout<<pow(c2,c3);
}
if(c1==6) {
for(int i=c2;1<=c3;i++){
s6=s6*i;
}
cout<<s6;
}
}
}
system("cls");
cout<<"要继续吗?\n";
Sleep(100);
cout<<"1.不要 2.要";
int o;
cin>>o;
if(o==1){
return 0;
}
else{
return 1;
}
}
int main(){
double q,c;
console();
cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t欢迎来到x**4.0.0版";
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 67");
system("color 78");
system("color 81");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 67");
system("color 78");
system("color 81");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 67");
system("color 78");
system("color 81");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 67");
system("color 78");
system("color 81");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 12");
system("color 23");
system("color 34");
system("color 45");
system("color 56");
system("color 12");
system("color 23");
system("color 01");
system("color 70");
Sleep(1000);
system("cls");{
for(int kai;kai<=101;kai++){
if(q>=100){
system("cls");
cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\t 加载完成!";
Sleep(2000);
break;
}
cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\t "<<q<<"%";
Sleep(4);
q+=1;
system("cls");
}
}
system("cls");
Sleep(1000);
cout<<"输入你的名字:";
string name;
cin>>name;
Sleep(500);
cout<<"\n\n你好,"<<name;
Sleep(2000);
system("cls");
cout<<"\n\n\n\n\n\n\n\n\n"<<"\t\t\t\t**不良游戏";
cout<<" "<<"\t\t\t拒绝盗版游戏";
Sleep(500);
cout<<"\n"<<"\t\t\t\t注意自我保护";
cout<<" "<<"\t\t\t谨防受骗上当";
Sleep(500);
cout<<"\n"<<"\t\t\t\t适度游戏益脑";
cout<<" "<<"\t\t\t沉迷游戏伤身";
Sleep(500);
cout<<"\n"<<"\t\t\t\t合理安排时间";
cout<<" "<<"\t\t\t享受健**活";
Sleep(5000);
system("cls");
cout<<"作者:";
Sleep(300);
cout<<"熊";
Sleep(300);
cout<<"智";
Sleep(300);
cout<<"晖";
Sleep(900);
cout<<"\n\n出版:金光工作室" ;
Sleep(5000);
system("cls");
system("cls");
while(1){
if(!(zs())){
retr();
}
}
return 0;
}
//将评价写在下面
//游戏很有创意,可以继续深化
//作者辛苦了,感谢你的付出
//谢谢评价,白白!!!!!!!!!!!!
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
// return 0;
//}
熊智晖在2021-12-31 12:53:29追加了内容
**= 服 务 器
0
已采纳
朱小川
缔造者
缔造者
//将评价写在下面
//游戏很有创意,可以继续深化
//作者辛苦了,感谢你的付出
//谢谢评价,白白!!!!!!!!!!!!
//
//
//
//
//
//
//代码有星号
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
// return 0;
//}
0
0