/*--------------------抽卡模拟器--------------------*/
#include<bits/stdc++.h>
using namespace std;
const int N=50;
bool flag;
long long money,jingao;
string card_type[N]={"R","SR","SSR","CR","QR","TR","MR","FR","IR","UR","SP","★SP","SSP"};
string card_name[N]={"哪吒","敖丙","太乙真人","申公豹","石矶娘娘","敖光","申小豹","申正道","鹿童","鹤童","无量仙翁","灵珠版哪吒","飞天猪","结界兽","敖顺","敖润","敖钦"};
void coutt(string out){
for(int i=0;i<out.size();i++){
cout<<out[i];
_sleep(35);
}
return;
}
void zhuanqian(){
system("cls");
for(int i=1;i<=100;i++){
cout<<i<<'%';
_sleep(1);
system("cls");
}
money+=100;
coutt("+100元\n");
_sleep(1500);
system("cls");
flag=true;
}
string type(int a){
if(a<=28){
return "R";
}
else if(a>28 && a<=28+24){
return "SR";
}
else if(a>28+24 && a<=28+24+21){
return "SSR";
}
else if(a>28+24+21 && a<=28+24+21+25){
return "CR";
}
else if(a>28+24+21+25 && a<=28+24+21+25+20){
return "QR";
}
else if(a>28+24+21+25+20 && a<=28+24+21+25+20+16){
return "TR";
}
else if(a>28+24+21+25+20+16 && a<=28+24+21+25+20+16+12){
return "MR";
}
else if(a>28+24+21+25+20+16+12 && a<=28+24+21+25+20+16+12+10){
return "FR";
}
else if(a>28+24+21+25+20+16+12+10 && a<=28+24+21+25+20+16+12+10+8){
return "IR";
}
else if(a>28+24+21+25+20+16+12+10+8 && a<=28+24+21+25+20+16+12+10+8+10){
return "UR";
}
else if(a>28+24+21+25+20+16+12+10+8+10 && a<=28+24+21+25+20+16+12+10+8+10+11){
return "SP";
}
else if(a>28+24+21+25+20+16+12+10+8+10+11 && a<=28+24+21+25+20+16+12+10+8+10+11+8){
return "★SP";
}
else if(a>28+24+21+25+20+16+12+10+8+10+11+8 && a<=28+24+21+25+20+16+12+10+8+10+11+8+6){
return "SSP";
}
}
void two(){
srand(time(0));
system("cls");
coutt("开\n");
_sleep(5000);
int a,b,c,d;
a=rand()%200;
b=rand()%200;
c=rand()%200;
d=rand()%200;
cout<<type(a)<<'\n'<<type(b)<<'\n'<<type(c)<<'\n'<<type(d)<<'\n';
_sleep(10000);
}
void chouka(){
system("cls");
cout<<"-------------------------------------------------------抽卡模拟器-------------------------------------------------------\n";
cout<<" 开发者:kungeruyi\n";
cout<<" ";
coutt("1.两元包\n");
cout<<" ";
coutt("2.十元包\n");
cout<<" ";
coutt("3. 退出\n");
int a;
cin>>a;
if(a==1){
two();
chouka();
}
else if(a==2){
}
else if(a==3){
return;
}
else{
jingao++;
system("cls");
chouka();
}
chouka();
}
void begin(){
if(jingao>3){
system("cls");
coutt("您已经多次犯规");
_sleep(1000);
//关机
}
system("cls");
if(flag==true){
cout<<"-------------------------------------------------------抽卡模拟器-------------------------------------------------------\n";
cout<<" 开发者:kungeruyi\n";
}
else{
coutt("-------------------------------------------------------抽卡模拟器-------------------------------------------------------\n");
cout<<" ";
coutt("开发者:kungeruyi\n");
}
cout<<" ";
coutt("1. 赚钱\n");
cout<<" ";
coutt("2. 抽卡\n");
cout<<" ";
coutt("3. 退出\n");
int a;
cin>>a;
if(a==1){
zhuanqian();
begin();
}
else if(a==2){
chouka();
begin();
}
else if(a==3){
return;
}
else{
jingao++;
system("cls");
begin();
}
begin();
}
int main(){
flag=false;
begin();
return 0;
}
剪贴板
剪贴板 76mieid3
剪贴板信息
剪贴板信息
- 收录
- 更新