#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;
}
Bloxd.io
最新推荐文章于 2024-11-09 13:08:09 发布