#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;
}

Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐