#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
void QQ();
void weixin();
void pipei();
void paiwei();
void xuanyingxiong();
void pipeijiemian();
void dating();
int duanwei=1;
using namespace std;
int main()
{
char ch='A',wei=1,qq=0;
cout<<"-------------------------------------王者荣耀-----------------------------------"<<endl;
cout<<" >>[与微信好友玩]<< [与QQ好友玩] "<<endl;
cout<<" (A,D选择,K确定) "<<endl;
while(ch!='K')
{
ch=getch();
if(ch=='A')
{
system("cls");
cout<<"-------------------------------------王者荣耀-----------------------------------"<<endl;
cout<<" >>[与微信好友玩]<< [与QQ好友玩] "<<endl;
cout<<" (A,D选择,K确定) "<<endl;
wei=1;
qq=0;
}
else if(ch=='D')
{
system("cls");
cout<<"-------------------------------------王者荣耀-----------------------------------"<<endl;
cout<<" [与微信好友玩] >>[与QQ好友玩]<< "<<endl;
cout<<" (A,D选择,K确定) "<<endl;
wei=0;
qq=1;
}
else if(ch=='K')
break;
}
if(qq)
QQ();
if(wei)
weixin();
cout<<" -------------------"<<endl;
cout<<" -| |-"<<endl;
cout<<" | 王者荣耀 |"<<endl;
cout<<" -| |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" loading";
Sleep(1000);
cout<<".";
Sleep(1000);
cout<<".";
Sleep(1000);
cout<<".";
Sleep(1000);
cout<<".";
dating();
}
void dating()
{
char ch;
system("cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"| 王者荣耀 |"<<endl;
cout<<"|无名氏:30级 金币:0 点券:0 钻石:0 |"<<endl;
cout<<"|---------------------------------------------------------|"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| >>匹配<< | 排位赛 | 商店(未开放) | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
ch=getch();
int pw=0,pp=1;
while(ch!='K')
{
ch=getch();
if(ch=='A')
{
system("Cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"| 王者荣耀 |"<<endl;
cout<<"|无名氏:30级 金币:0 点券:0 钻石:0 |"<<endl;
cout<<"|---------------------------------------------------------|"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| >>匹配<< | 排位赛 | 商店(未开放) | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
pw=0;
pp=1;
}
else if(ch=='D')
{
system("Cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"| 王者荣耀 |"<<endl;
cout<<"|无名氏:30级 金币:0 点券:0 钻石:0 |"<<endl;
cout<<"|---------------------------------------------------------|"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| 匹配 | >>排位赛 << | 商店(未开放) | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
pp=0;
pw=1;
}
else if(ch=='K')
break;
}
if(pp)
pipei();
if(pw)
paiwei();
}
void QQ()
{
system("cls");
long long int z,m;
cout<<"--------------------------------------"<<endl;
cout<<"账号:";
cin>>z;
cout<<"密码:";
cin>>m;
system("cls");
}
void weixin()
{
system("cls");
long long int z,m;
cout<<"--------------------------------------"<<endl;
cout<<"账号:";
cin>>z;
cout<<"密码:";
cin>>m;
system("cls");
}
void pipei()
{
char ch;
system("cls");
cout<<"-----------------------------------------------------------"<<endl;
cout<<"| 王者荣耀 |"<<endl;
cout<<"|无名氏:30级 金币:0 点券:0 钻石:0 |"<<endl;
cout<<"|---------------------------------------------------------|"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| >>5 vs 5<< | 3 vs 3 | 1 vs 1 |返回(A) |"<<endl;
cout<<"| | (未开放) | (未开放) | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"-----------------------------------------------------------"<<endl;
while(ch!='A'&&ch!='K')
{
ch=getch();
if(ch=='A')
dating();
else if(ch=='K')
{
pipeijiemian();
xuanyingxiong();
dating();
}
}
}
void xuanyingxiong()
{
string xingxiong="鲁班" ;
char ch='T';
while(ch!='K')
{
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | | 曹操 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |诸葛亮 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | | ???? |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 准备 |"<<endl;
cout<<"| | | (K) |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
ch=getch();
if(ch=='Z')
xingxiong="鲁班";
else if(ch=='X')
xingxiong="赵云";
else if(ch=='C')
xingxiong="花木兰";
else if(ch=='V')
xingxiong="李白";
else if(ch=='B')
xingxiong="盾山";
else if(ch=='N')
xingxiong="后裔";
else if(ch=='M')
xingxiong="貂蝉";
else if(ch=='L')
xingxiong="露娜";
}
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | | 曹操 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |诸葛亮 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | | ???? |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | |狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |诸葛亮 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | | ???? |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | |狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |安吉拉 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | 我打野,别抢--> 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | | ???? |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | |狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |安吉拉 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | 我打野,别抢--> 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | 我辅助,狄仁杰,跟我-->明世隐 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | |狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |安吉拉 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | 我辅助,狄仁杰,跟我-->明世隐 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | OK!!别坑就行-->狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |安吉拉 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | |明世隐 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | |狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |安吉拉 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | |明世隐 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | |狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |安吉拉 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | |明世隐 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| | | |狄仁杰 |"<<endl;
cout<<"|鲁班 |赵云 | |-------|"<<endl;
cout<<"| (Z) | (X) | |安吉拉 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|花木兰|李白 | | 韩信 |"<<endl;
cout<<"| (C) |(V) | |-------|"<<endl;
cout<<"|------------| 加载英雄模型中...... |>"<<xingxiong<<" <|"<<endl;
cout<<"|盾山 |后裔 | |-------|"<<endl;
cout<<"|(B) |(N) | |明世隐 |"<<endl;
cout<<"|------------| |-------|"<<endl;
cout<<"|貂蝉 |露娜 | | |"<<endl;
cout<<"|(M) |(L) | |-------|"<<endl;
cout<<"|------------| | 等待 |"<<endl;
cout<<"| | | ... |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 狄仁杰 | 安吉拉 | 韩信 | "<<xingxiong<<" | 明世隐 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 0% | 89% | 30% | 10% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"|----------------------------vs-----------------------------|"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 貂蝉 | 吕布 | 刘备 | 瑶 | 马可波罗 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 100% | 100% | 100% | 100% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 狄仁杰 | 安吉拉 | 韩信 | "<<xingxiong<<" | 明世隐 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 99% | 89% | 30% | 99% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"|----------------------------vs-----------------------------|"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 貂蝉 | 吕布 | 刘备 | 哪吒 | 东皇太一 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 100% | 100% | 100% | 100% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 狄仁杰 | 安吉拉 | 韩信 | "<<xingxiong<<" | 明世隐 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 99% | 100% | 30% | 99% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"|----------------------------vs-----------------------------|"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 貂蝉 | 吕布 | 刘备 | 哪吒 | 东皇太一 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 100% | 100% | 100% | 100% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 狄仁杰 | 安吉拉 | 韩信 | "<<xingxiong<<" | 明世隐 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 99% | 100% | 30% | 99% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"|----------------------------vs-----------------------------|"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 貂蝉 | 吕布 | 刘备 | 哪吒 | 东皇太一 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 100% | 100% | 100% | 100% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 狄仁杰 | 安吉拉 | 韩信 | "<<xingxiong<<" | 明世隐 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 99% | 100% | 30% | 99% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"|----------------------------vs-----------------------------|"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 貂蝉 | 吕布 | 刘备 | 哪吒 | 东皇太一 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 100% | 100% | 100% | 100% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(1000);
system("cls");
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 狄仁杰 | 安吉拉 | 韩信 | "<<xingxiong<<" | 明世隐 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 100% | 100% | 断线.. | 100% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"|----------------------------vs-----------------------------|"<<endl;
cout<<"|-----------------------------------------------------------|"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 貂蝉 | 吕布 | 刘备 | 哪吒 | 东皇太一 |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"| 100% | 100% | 100% | 100% | 100% |"<<endl;
cout<<"| | | | | |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
Sleep(3000);
system("cls");
srand(static_cast<unsigned int >(time(0))) ;
int randomNumber=rand();
int ss =(randomNumber% 6)+1;
if (ss>=4)
{
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |==========| |"<<endl;
cout<<"|----------------------|==========|-------------------------|"<<endl;
cout<<"|----------------------|===胜利===|-------------------------|"<<endl;
cout<<"|----------------------|==========|-------------------------|"<<endl;
cout<<"| |==========| |"<<endl;
cout<<"| * * * * * * |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
}
else
{
cout<<"-------------------------------------------------------------"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| ========== |"<<endl;
cout<<"|---------------------- ========== -------------------------|"<<endl;
cout<<"|---------------------- ===失败=== -------------------------|"<<endl;
cout<<"|---------------------- ========== -------------------------|"<<endl;
cout<<"| ========== |"<<endl;
cout<<"| .......... |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"| |"<<endl;
cout<<"-------------------------------------------------------------"<<endl;
}
Sleep(5000);
}
void paiwei()
{
char ch;
string dw;
if(duanwei<=5)
dw="青铜";
else if(duanwei<=10)
dw="白银";
else if(duanwei<=15)
dw="黄金";
system("cls");
cout<<"------------------------------------------------------------"<<endl;
cout<<"| 王者荣耀 |"<<endl;
cout<<"|无名氏:30级 金币:0 点券:0 钻石:0 |"<<endl;
cout<<"|----------------------------------------------------------|"<<endl;
cout<<"| | | | |"<<endl;
cout<<"|你的段位:"<<dw<<"| | | |"<<endl;
cout<<"| | 开始匹配(K) | 返回(A) | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"| | | | |"<<endl;
cout<<"------------------------------------------------------------"<<endl;
while(ch!='K'&&ch!='A')
{
ch=getch();
if(ch=='A')
dating();
else if(ch=='K')
{
pipeijiemian();
xuanyingxiong();
dating();
}
}
}
void pipeijiemian()
{
int time=0;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 0 | 0 | 0 | 0 | 0 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 0 | i | 0 | 0 | 0 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 0 | 0 | 0 | 0 | 0 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 0 | i | 0 | 0 | 0 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 0 | 0 | 0 | 0 | 0 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 0 | i | 0 | 0 | 0 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 0 | 1 | 0 | 1 | 0 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 1 | i | 0 | 1 | 0 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 1 | 1 | 1 | 1 | 1 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 1 | i | 0 | 1 | 0 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 1 | 1 | 1 | 1 | 1 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 1 | i | 1 | 1 | 0 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 1 | 1 | 1 | 1 | 1 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 1 | i | 1 | 1 | 0 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
system("cls");
cout<<" | 正在匹配 |"<<endl;
cout<<" -| 0.0"<<time<<" |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" -| 1 | 1 | 1 | 1 | 1 |-"<<endl;
cout<<" |-------------------|"<<endl;
cout<<" -| 1 | i | 1 | 1 | 1 |-"<<endl;
cout<<" -------------------"<<endl;
cout<<" (1表有人,0没人,i是你)"<<endl;
Sleep(1000);
time++;
}
07-13
1233
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-14
537
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-30
2785
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-16
1228
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-04
22万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-07