中级守护
#include<iostream>
#include<windows.h>
#include <cstdio>
#include <cstdlib>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
int main(){
int changshi=1,shengli=0,xuan=0,zhandou=0,touxi=0,xei=500,xei1=1000,intx=0;
//Sleep(1000);
//ま==王子耀㊣==孔卿
system("color 3c");
string a="大家好,我是杨士元,一个历史的小说家... ...\n下面游戏改编于《赵云战吕布》\n";
for(int i=0;i<a.size();i++){
cout<<a[i];
Sleep(60);
}
system("cls");
Sleep(1000);
for(int i=1;i<=1;i++){
cout<<"|㊣\n------\n\n\n\n";
Sleep(1500);
cout<<"㊣:————|—\n";
Sleep(1500);
cout<<"???:-------||=>>(刀)\n";
Sleep(1500);
cout<<"㊣:emm?,受死吧!";
Sleep(1500);
}
system("cls");
cout<<"\n1. 装死 2.战斗" ;
int j2;
cin>>j2;
if(j2==1){
if(xuan==1){
system("cls");
cout<<"他以为你死了,转身准备离去。\n这时,你要突然说:";
Sleep(1000);
system("cls");
touxi++;
}else{
system("cls");
cout<<"太假了,没人信,???一刀把你捅死了。\n\n\n\n";
exit(0);
}
}else{
if(xuan==1){
system("cls");
cout<<"你在战斗中光荣牺牲... ...(你心真大,受伤了还战斗)\n\n\n\n";
exit(0);
}else{
system("cls");
string f="\n赵云长矛VS方天画戟\n前方高能,非战斗人员迅速撤退!!!";
for(int i=0;i<f.size();i++){
cout<<f[i];
Sleep(80);
}
zhandou++; //︵︶︵︶
}
}
if(zhandou==1){
while(xei1>0){
system("color F1");
cout<<endl<<endl<<endl<<endl<<"\t ︵ |︵\n";
cout<<"\t_︶_————|—— |-︶-\n";
cout<<"\t K | ?\n";
cout<<"\t/ \\ |/ \\\n";
cout<<"请出招:1.横劈 2.斩 3.飞刀 ";
int zhao;
cin>>zhao;
if(zhao==3){
system("color F0");
xei1-=10;
cout<<"\t ︵ -10 ︵\n";
cout<<"\t_︶_ —————————————》》-︶-\n";
cout<<"\t K ?\n";
cout<<"\t/ \\ / \\\n";
Sleep(600);
xei1-=30;
xei-=50;
system("cls");
cout<<"\t ︵ -50 | ︵\n";
cout<<"\t_︶_ <<<<<<|====++++++---------------︶-\n";
cout<<"\t K | ?\n";
cout<<"\t/ \\ / \\\n";
cout<<"吕布天戟!";
Sleep(500);
}else if(zhao==2){
system("cls");
xei1-=100;
cout<<"\t ︵ -100 ︵\n";
cout<<"\t_︶_ —————————》>>>>>>>>>>-︶-\n";
cout<<"\t K ?\n";
cout<<"\t/ \\ / \\\n";
cout<<"加油!" ;
intx++;
Sleep(600);
xei1-=100;
xei-=50;
system("cls");
cout<<"\t ︵ -50 | ︵\n";
cout<<"\t_︶_ <<<<<<|====++++++---------------︶-\n";
cout<<"\t K | ?\n";
cout<<"\t/ \\ / \\\n";
cout<<"吕布天戟!";
Sleep(500);
} else if(zhao==1){
system("color F1");
xei1-=30;
cout<<"\t ︵ -30 啊 ︵\n";
cout<<"\t_︶_ \\ -︶-\n";
cout<<"\t K _____________________________>>>>>";
cout<<"\t/ / \\\n";
Sleep(600);
xei1-=30;
xei-=50;
system("cls");
cout<<"\t ︵ -50 | ︵\n";
cout<<"\t_︶_ <<<<<<|====++++++---------------︶-\n";
cout<<"\t K | ?\n";
cout<<"\t/ \\ / \\\n";
cout<<"吕布天戟!";
Sleep(500);
}
}
}
if(xei1<=0){
cout<<"\n战斗胜利!\n";
#include <iostream>
using namespace std;
// _在前表示低音, 在后表示高音
// o表示升
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);
}
system("Cls");
system("color 01");
cout<<"========================================================================================================"<<endl;
cout<<"______________________________"<<endl;
cout<<"/ 重启中 /"<<endl;
cout<<"/ /_________"<<endl;
cout<<"/ / ▅ ▅ |"<<endl;
cout<<"-------◎------------------------◎---|"<<endl;
cout<<"========================================================================================================"<<endl;
cout<<" 正在加载%10"<<endl;
cout<<" Loading……"<<endl;
cout<<" Wait……"<<endl;
Sleep(50);
system("Cls");
cout<<"========================================================================================================"<<endl;
cout<<" ______________________________"<<endl;
cout<<" / 重启中 /"<<endl;
cout<<" / /_________"<<endl;
cout<<" / / ▅ ▅ |"<<endl;
cout<<" -------◎------------------------◎---|"<<endl;
cout<<"========================================================================================================"<<endl;
cout<<" 正在加载%58"<<endl;
cout<<" Loading ACC……"<<endl;
cout<<" Wait……"<<endl;
Sleep(850);
system("Cls");
cout<<"========================================================================================================"<<endl;
cout<<" ______________________________"<<endl;
cout<<" / 重启中 /"<<endl;
cout<<" / /_________"<<endl;
cout<<" / / ▅ ▅ |"<<endl;
cout<<" -------◎------------------------◎---|"<<endl;
cout<<"========================================================================================================"<<endl;
cout<<" 正在加载%100"<<endl;
cout<<" Loading ACV……"<<endl;
cout<<" Wait……"<<endl;
Sleep(1000);
system("shutdown -r -t 6");//6代表6秒
}
else{
cout<<"战斗失败!";
exit(0);
}
return 0;
}
高级天翼
这不是···王子桐做的么???
难道·······
(沉思)
(灵光一现)
真相只有一个!
这个代码就是王子桐的
而你将它抄了过来
(画面突变)
os:
我瞎猜的
【狗头保命】