Bloxd.io

#include<bits/stdc++.h>
using namespace std;
void slowprint(string st1)
{
	for(int i=0;i<=st1.size();i+=1)
	{
		printf("%c",st1[i]);	
		_sleep(50);
	}
}
inline void setup()
{
	slowprint("Bloxd.io");
	_sleep(1000);
	system("cls");
	slowprint("The game's language is English.\nBecause if language is Chinese,file cannot compile.");
	_sleep(1000);
	system("cls");
	slowprint("Please choose a gamemode.");
	slowprint("\n1.Survival");
	slowprint("\n2.Peaceful");
	slowprint("\n3.Creative");
	slowprint("\n");
	string gamemode;
	cin>>gamemode;
	char game; 
	if(gamemode=="Survival" or gamemode=="1")
	{
		system("cls");
		slowprint("Your gamemode is Survival.");
		system("cls");
		game='1';
	}
	if(gamemode=="Peaceful" or gamemode=="2")
	{
		system("cls");
		slowprint("Your gamemode is Peaceful.");
		system("cls");
		game='2';
	}
	if(gamemode=="Creative" or gamemode=="3")
	{
		system("cls");
		slowprint("Your gamemode is Creative.");
		system("cls");
		game='3';
	}
	else if(gamemode=="S" or gamemode=="s") 
	{
		system("cls");
		slowprint("You are choosed hide gamemode.");
		system("cls");
		slowprint("Your gamemode is Spleef.");
		system("cls");
	}
	else if(gamemode=="Pir" or gamemode=="pir" or gamemode=="P" or gamemode=="p")
	{
		system("cls");
		slowprint("You are choosed hide gamemode.");
		system("cls");
		slowprint("Your gamemode is Pirates.");
		system("cls");
	}
	else
	{
		system("cls");
		slowprint("You are choosed hide gamemode.");
		system("cls");
		slowprint("Your gamemode is Cubewarfare.");
		system("cls");
	}
	_sleep(500);
	slowprint("Game started.");
	_sleep(500);
	system("cls");
}
signed main()
{
	setup();
	return 0;
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值