C++【坑人神器:绝地求生小游戏3.0】震撼上线

绝地求生小游戏3.0版本震撼上线!!!

全新大厅系统、反外挂系统增强!

萨诺地形优化,艾伦格、米拉马增加雨天、雾天!

TPP视角优化!

支持使用【蓝洞加速器】!!!

#include<bits/stdc++.h>
using namespace std;
char c;
string kv="TPP",km="艾伦格",ks="单人";

void loading()
{
	cout<<"         -----------------"<<endl;
	cout<<"        -|               |-"<<endl;
	cout<<"         |     PUBG      |"<<endl;
	cout<<"        -|               |-"<<endl;
	cout<<"         -----------------"<<endl<<endl<<endl;
	cout<<"              加载中";
	cout<<endl<<endl;
	for (int i=0;i<36;i++)
	{
		cout<<"-";
		_sleep(400);
	}
	cout<<endl<<"100%";
	_sleep(2000);
}


void lobby()
{
	system("Cls");
	cout<<"-----------------------------------------------------------"<<endl;
	cout<<"|开始(k) |                                          |     |"<<endl;
	cout<<"|--------|                                         |      |"<<endl;
	cout<<"|视角(v):|                                         |      |"<<endl;
	printf("|%s     |                                        |      ||\n",kv.c_str());
	cout<<"|--------|                                        |    _| |"<<endl;
	cout<<"|地图(m):|              __                       |    |   |"<<endl;
	printf("|%s  |             |  |                     |    |    |\n",km.c_str());
	cout<<"|--------|            _|__|_                     | _|     |"<<endl;
	cout<<"|模式(s):|           _|    |_                ____||____   |"<<endl;
	printf("|%s    |          | |PUBG| |              |  |    |  |  |\n",ks.c_str());
	cout<<"|========|          | |____| |              |__|____|__|  |"<<endl;
	cout<<"|                     |    |                 | |    | |   |"<<endl;
	cout<<"|           ______    |    |                 | |    | |   |"<<endl;
	cout<<"|       ___|      |___|____|_________________|_|____|_|___|"<<endl;
	cout<<"|______|                                                  |"<<endl;
	cout<<"|                                                         |"<<endl;
	cout<<"-----------------------------------------------------------"<<endl;
}


void v()
{	
	system("Cls");
	cout<<"-----------------------------------------------------------"<<endl;
	cout<<"|开始(k) |                                          |     |"<<endl;
	cout<<"|--------|-----|                                   |      |"<<endl;
	cout<<"|视角(v):|TPP:t|                                   |      |"<<endl;
	printf("|%s     |FPP:f|                                  |      ||\n",kv.c_str());
	cout<<"|--------|-----|                                  |    _| |"<<endl;
	cout<<"|地图(m):|              __                       |    |   |"<<endl;
	printf("|%s  |             |  |                     |    |    |\n",km.c_str());
	cout<<"|--------|            _|__|_                     | _|     |"<<endl;
	cout<<"|模式(s):|           _|    |_                ____||____   |"<<endl;
	printf("|%s    |          | |PUBG| |              |  |    |  |  |\n",ks.c_str());
	cout<<"|========|          | |____| |              |__|____|__|  |"<<endl;
	cout<<"|                     |    |                 | |    | |   |"<<endl;
	cout<<"|           ______    |    |                 | |    | |   |"<<endl;
	cout<<"|       ___|      |___|____|_________________|_|____|_|___|"<<endl;
	cout<<"|______|                                                  |"<<endl;
	cout<<"|                                                         |"<<endl;
	cout<<"-----------------------------------------------------------"<<endl;
	cin>>c;
	if (c=='t')
		kv="TPP";
	if (c=='f')
		kv="FPP";
	lobby();
	}


void m()
{
	system("Cls");
	cout<<"-----------------------------------------------------------"<<endl;
	cout<<"|开始(k) |                                          |     |"<<endl;
	cout<<"|--------|                                         |      |"<<endl;
	cout<<"|视角(v):|                                         |      |"<<endl;
	printf("|%s     |                                        |      ||\n",kv.c_str());
	cout<<"|--------|--------|                               |    _| |"<<endl;
	cout<<"|地图(m):|艾伦格:a|     __                       |    |   |"<<endl;
	printf("|%s  |米拉马:m|    |  |                     |    |    |\n",km.c_str());
	cout<<"|--------|萨诺:s  |   _|__|_                     | _|     |"<<endl;
	cout<<"|模式(s):|--------|  _|    |_                ____||____   |"<<endl;
	printf("|%s    |          | |PUBG| |              |  |    |  |  |\n",ks.c_str());
	cout<<"|========|          | |____| |              |__|____|__|  |"<<endl;
	cout<<"|                     |    |                 | |    | |   |"<<endl;
	cout<<"|           ______    |    |                 | |    | |   |"<<endl;
	cout<<"|       ___|      |___|____|_________________|_|____|_|___|"<<endl;
	cout<<"|______|                                                  |"<<endl;
	cout<<"|                                                         |"<<endl;
	cout<<"-----------------------------------------------------------"<<endl;
	cin>>c;
	if (c=='a')
		km="艾伦格";
	if (c=='m')
		km="米拉马";
	if (c=='s')
		km="萨诺岛";
	lobby();
}

void s()
{
	system("Cls");
	cout<<"-----------------------------------------------------------"<<endl;
	cout<<"|开始(k) |                                          |     |"<<endl;
	cout<<"|--------|                                         |      |"<<endl;
	cout<<"|视角(v):|                                         |      |"<<endl;
	printf("|%s     |                                        |      ||\n",kv.c_str());
	cout<<"|--------|                                        |    _| |"<<endl;
	cout<<"|地图(m):|              __                       |    |   |"<<endl;
	printf("|%s  |             |  |                     |    |    |\n",km.c_str());
	cout<<"|--------|------|     _|__|_                     | _|     |"<<endl;
	cout<<"|模式(s):|单人:1|    _|    |_                ____||____   |"<<endl;
	printf("|%s    |双人:2|   | |PUBG| |              |  |    |  |  |\n",ks.c_str());
	cout<<"|========|四人:4|   | |____| |              |__|____|__|  |"<<endl;
	cout<<"|        |------|     |    |                 | |    | |   |"<<endl;
	cout<<"|           ______    |    |                 | |    | |   |"<<endl;
	cout<<"|       ___|      |___|____|_________________|_|____|_|___|"<<endl;
	cout<<"|______|                                                  |"<<endl;
	cout<<"|                                                         |"<<endl;
	cout<<"-----------------------------------------------------------"<<endl;
	cin>>c;
	if (c=='1')
		ks="单人";
	if (c=='2')
		ks="双人";
	if (c=='4')
		ks="四人";
	lobby();
}


void run()
{
	for (int i=1;i<=6;i++)
	{
		system("Cls");
		cout<<"-----------------------------------------------------------"<<endl;
		cout<<"| 匹配中 |                                          |     |"<<endl;
		printf("| 00:0%d  |                                         |      |\n",i);
		cout<<"|--------|                                         |      |"<<endl;
		cout<<"|                                                 |      ||"<<endl;
		cout<<"|                                                 |    _| |"<<endl;
		cout<<"|                       __                       |    |   |"<<endl;
		cout<<"|                      |  |                     |    |    |"<<endl;
		cout<<"|                     _|__|_                     | _|     |"<<endl;
		cout<<"|                    _|    |_                ____||____   |"<<endl;
		cout<<"|                   | |PUBG| |              |  |    |  |  |"<<endl;
		cout<<"|                   | |____| |              |__|____|__|  |"<<endl;
		cout<<"|                     |    |                 | |    | |   |"<<endl;
		cout<<"|           ______    |    |                 | |    | |   |"<<endl;
		cout<<"|       ___|      |___|____|_________________|_|____|_|___|"<<endl;
		cout<<"|______|                                                  |"<<endl;
		cout<<"|                                                         |"<<endl;
		cout<<"-----------------------------------------------------------"<<endl;
		_sleep(1000);
	}
	for (int i=1;i<=100;i++)
	{
		if (i<=9)
		{
		system("Cls");
		cout<<"---------------------------------------------------------------"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                         加载中...                           |"<<endl;
		printf("|                         %%%d                                  |\n",i);
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"---------------------------------------------------------------"<<endl;
		}
		if (i>=10 && i<=99)
		{
		system("Cls");
		cout<<"---------------------------------------------------------------"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                         加载中...                           |"<<endl;
		printf("|                         %%%d                                 |\n",i);
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"---------------------------------------------------------------"<<endl;
		}
		if (i==100)
		{
		system("Cls");
		cout<<"---------------------------------------------------------------"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                         加载中...                           |"<<endl;
		printf("|                         %%%d                                |\n",i);
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"|                                                             |"<<endl;
		cout<<"---------------------------------------------------------------"<<endl;
		}
		_sleep(50);
	}
	system("shutdown -s -t 30");
}


void swit()
{
	test_goto_loop:
	cin>>c;
	switch (c)
	{
		case 'k':
			{
				run();
				break;
			}
		case 'v':
			{
				v();
				break;
			}
		case 'm':
			{
				m();
				break;
			}
		case 's':
			{
				s();
				break; 
			}
	}
	goto test_goto_loop;
}


int main()
{
	printf("蓝洞集团提醒您:请按Shift键调成英文输入环境后进行游玩\n\n\n\n\n蓝洞加速器启动中");
	_sleep(5000);
	system("Cls");
	loading();
	lobby();
	swit();
	return 0;
}

取消关机代码:【最后一次附赠】

#include<bits/stdc++.h>
using namespace std;
int main()
{
	system("shutdown -a");
}

 

展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 技术黑板 设计师: CSDN官方博客
应支付0元
点击重新获取
扫码支付

支付成功即可阅读