#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int choice;
string mysterious_code;
void slow_output(string character_string)
{
for(int loop_variable=0;loop_variable<=character_string.size();loop_variable++)
{
cout<<character_string[loop_variable];
Sleep(100);
}
}
void clear_screen()
{
system("cls");
}
void line_break()
{
cout<<endl;
}
void sign_out()
{
exit(0);
}
void level_1_1_1()
{
clear_screen();
slow_output("Save code:1-1-1");
Sleep(1500);
clear_screen();
slow_output("?????:Perhaps you have forgotten how to play this game.");
line_break();
Sleep(1500);
slow_output("?????:Let me teach you.");
line_break();
Sleep(1500);
clear_screen();
view_detailed_information_selection:
slow_output("Your hand:White Weasel,Squirrel,Wolf,Wolf");
line_break();
Sleep(1500);
slow_output("1.View detailed information");
line_break();
Sleep(1500);
slow_output("2.Item");
line_break();
Sleep(1500);
slow_output("3.Play cards");
line_break();
Sleep(1500);
slow_output("4.Ring the bell");
line_break();
Sleep(1500);
slow_output("?????:View detailed information now.");
line_break();
cin>>choice;
if(choice==1)
{
clear_screen();
white_weasel_selection:
slow_output("1.White Weasel 2.Squirrel 3.Wolf");
line_break();
Sleep(1500);
slow_output("?????:Now choose the white weasel.");
line_break();
cin>>choice;
if(choice==1)
{
clear_screen();
slow_output("Name:White Weasel");
line_break();
slow_output("Health value:3");
line_break();
slow_output("Aggressivity:1");
line_break();
slow_output("Summoning cost:1 sacrifice");
line_break();
slow_output("Engraving:none");
line_break();
Sleep(1500);
slow_output("?????:Read it carefully.");
line_break();
Sleep(1500);
slow_output("?????:After you understand it,let's officially begin.");
Sleep(1500);
clear_screen();
play_cards_selection:
slow_output("Your hand:White Weasel,Squirrel,Wolf,Wolf");
line_break();
Sleep(1500);
slow_output("1.View detailed information");
line_break();
Sleep(1500);
slow_output("2.Item");
line_break();
Sleep(1500);
slow_output("3.Play cards");
line_break();
Sleep(1500);
slow_output("4.Ring the bell");
line_break();
Sleep(1500);
slow_output("?????:Now let's go back here.");
line_break();
Sleep(1500);
slow_output("?????:Now play cards.");
line_break();
cin>>choice;
if(choice==3)
{
clear_screen();
squirrel_selection:
slow_output("Now you have:0 sacrificial frequency.");
line_break();
Sleep(1500);
slow_output("What you can summon now:1.Squirrel");
line_break();
Sleep(1500);
slow_output("Or you can 2.go back");
line_break();
cin>>choice;
if(choice==1)
{
clear_screen();
squirrel_position_selection:
slow_output("Where do you want to put it?");
line_break();
Sleep(1500);
slow_output("1.Position 1 2.Position 2 3.Position 3 4.Position 4");
line_break();
cin>>choice;
if(choice==1||choice==2||choice==3||choice==4)
{
slow_output("?????:Look,the squirrel is already on the battlefield.");
line_break();
Sleep(1500);
cout<<"Vacancy Vacancy Vacancy Vacancy"<<endl;
}
if(choice==1) cout<<"Squirrel Vacancy Vacancy Vacancy"<<endl;
else if(choice==2) cout<<"Vacancy Squirrel Vacancy Vacancy"<<endl;
else if(choice==3) cout<<"Vacancy Vacancy Squirrel Vacancy"<<endl;
else if(choice==4) cout<<"Vacancy Vacancy Vacancy Squirrel"<<endl;
else
{
slow_output("?????:See clearly,there are only 4 positions here.");
Sleep(1500);
clear_screen();
goto squirrel_position_selection;
}
slow_output("?????:You have done well.");
Sleep(1500);
clear_screen();
slow_output("Your hand:White Weasel,Wolf,Wolf");
line_break();
Sleep(1500);
slow_output("1.View detailed information");
line_break();
Sleep(1500);
slow_output("2.Item");
line_break();
Sleep(1500);
slow_output("3.Play cards");
line_break();
Sleep(1500);
slow_output("4.Ring the bell");
line_break();
Sleep(1500);
}
else
if(choice==2)
{
slow_output("?????:This path is right,don't give up.");
Sleep(1500);
clear_screen();
goto squirrel_selection;
}
else
{
slow_output("?????:You are really annoying.");
Sleep(1500);
clear_screen();
goto squirrel_selection;
}
}
else
if(choice==1||choice==2||choice==4)
{
slow_output("?????:I asked you to play cards now,you can't do anything else.");
line_break();
Sleep(1500);
slow_output("?????:You must start over again.");
Sleep(1500);
clear_screen();
goto play_cards_selection;
}
else
{
slow_output("?????:I can't understand what you're doing.");
line_break();
Sleep(1500);
slow_output("?????:You must start over again.");
Sleep(1500);
clear_screen();
goto play_cards_selection;
}
}
else
if(choice==2||choice==3)
{
slow_output("?????:I really want to kick you out.");
line_break();
Sleep(1500);
slow_output("?????:You must start over again.");
Sleep(1500);
clear_screen();
goto white_weasel_selection;
}
else
{
slow_output("?????:If I am willing,you will stay here forever.");
line_break();
Sleep(1500);
slow_output("?????:You must start over again.");
Sleep(1500);
clear_screen();
goto white_weasel_selection;
}
}
else
if(choice==2||choice==3||choice==4)
{
slow_output("?????:I asked you to view detailed information now,you can't do anything else.");
line_break();
Sleep(1500);
slow_output("?????:You must start over again.");
Sleep(1500);
clear_screen();
goto view_detailed_information_selection;
}
else
{
slow_output("?????:I can't understand what you're doing.");
line_break();
Sleep(1500);
slow_output("?????:You must start over again.");
Sleep(1500);
clear_screen();
goto view_detailed_information_selection;
}
}
void level_1_0_1()
{
clear_screen();
slow_output("This is a game.");
line_break();
Sleep(1500);
slow_output("So how should we play?");
line_break();
Sleep(1500);
clear_screen();
slow_output("Name:White Weasel");
line_break();
slow_output("Oh,what is this?");
line_break();
Sleep(1500);
slow_output("It seems to be the name of an animal.");
line_break();
Sleep(1500);
slow_output("What's its use?");
Sleep(1500);
clear_screen();
cout<<"Name:White Weasel"<<endl;
slow_output("Health value:3");
line_break();
slow_output("Oh,it startled me.");
line_break();
Sleep(1500);
slow_output("I got it!");
line_break();
Sleep(1500);
slow_output("It means that the life value of an animal named 'White Weasel' is 3.");
line_break();
Sleep(1500);
slow_output("That is to say,the 'White Weasel' can withstand 3 points of damage.");
Sleep(1500);
clear_screen();
cout<<"Name:White Weasel"<<endl;
cout<<"Health value:3"<<endl;
slow_output("Aggressivity:1");
line_break();
Sleep(1500);
slow_output("Same as above.");
line_break();
Sleep(1500);
slow_output("This means that 'White Weasel' can cause 1 point of damage to other animals at a time.");
Sleep(1500);
clear_screen();
cout<<"Name:White Weasel"<<endl;
cout<<"Health value:3"<<endl;
cout<<"Aggressivity:1"<<endl;
slow_output("Summoning cost:1 sacrifice");
line_break();
Sleep(1500);
slow_output("And this means that the 'White Weasel' needs to sacrifice one other animal before it can be summoned.");
line_break();
Sleep(1500);
slow_output("I know this may be a bit cruel.");
line_break();
Sleep(1500);
slow_output("But you can't change it.");
Sleep(1500);
clear_screen();
cout<<"Name:White Weasel"<<endl;
cout<<"Health value:3"<<endl;
cout<<"Aggressivity:1"<<endl;
cout<<"Summoning cost:1 sacrifice"<<endl;
slow_output("Engraving:none");
line_break();
Sleep(1500);
slow_output("Finally,this means that there are no imprints on the body of the 'White Weasel'");
line_break();
Sleep(1500);
slow_output("This is a detailed introduction to the 'White Weasel'.");
line_break();
Sleep(1500);
slow_output("This template is also applicable to other animals.");
line_break();
Sleep(1500);
slow_output("Here,we refer to these animals as 'creations'.");
line_break();
Sleep(1500);
slow_output("And you and I are the 'creator'.");
Sleep(1500);
clear_screen();
slow_output("The achievement of the plot bas been achieved!");
line_break();
slow_output("The first signs are emerging.");
Sleep(1500);
level_1_1_1();
}
void homepage()
{
homepage:
slow_output("This is the homepage of Inscryption(copied version)!");
line_break();
slow_output("You can do the following things here:");
line_break();
slow_output("1.Start a new game");
line_break();
slow_output("2.Continue with the previous game");
line_break();
slow_output("3.Set up");
line_break();
slow_output("4.Sign out");
line_break();
slow_output("5.Enter some mysterious codes");
line_break();
slow_output("Make your choice now:");
homepage_selection:
cin>>choice;
if(choice==1)
{
if(mysterious_code==""||mysterious_code[0]=='1')
{
clear_screen();
slow_output(".");
Sleep(1500);
slow_output(".");
Sleep(1500);
slow_output(".");
Sleep(1500);
line_break();
slow_output("It's broken.");
Sleep(1500);
line_break();
slow_output("Let me take you back.");
Sleep(1500);
clear_screen();
goto homepage;
}
else
{
clear_screen();
slow_output("Do you really want to start a new game?");
line_break();
slow_output("1.Yes");
line_break();
slow_output("2.No");
line_break();
slow_output("Make your choice now:");
start_a_new_game_selection:
cin>>choice;
if(choice==1)
{
}
else if(choice==2)
{
clear_screen();
slow_output("Oh,you've changed your mind,then let me send you back.");
Sleep(1500);
clear_screen();
goto homepage;
}
else
{
slow_output("This option is not available,please reenter:");
goto start_a_new_game_selection;
}
}
}
else if(choice==2)
{
if(mysterious_code==""||mysterious_code=="1-0-1")
{
clear_screen();
slow_output("Save code:1-0-1");
line_break();
Sleep(1500);
slow_output("What is it?");
line_break();
Sleep(1500);
slow_output("It looks like some 'mysterious code'.");
line_break();
Sleep(1500);
slow_output("I don't know what it's useful for now.");
line_break();
Sleep(1500);
slow_output("Remember it first.");
line_break();
Sleep(1500);
slow_output("It may be used later.");
Sleep(1500);
level_1_0_1();
}
else if(mysterious_code=="1-1-1") level_1_1_1();
}
else if(choice==3)
{
clear_screen();
slow_output("What do you want to change?");
line_break();
slow_output("Sorry,you're not a god,you can't change anything.");
line_break();
slow_output("Let me take you back.");
Sleep(1500);
clear_screen();
goto homepage;
}
else if(choice==4) sign_out();
else if(choice==5)
{
clear_screen();
slow_output("Please enter the mysterious code here:");
cin>>mysterious_code;
Sleep(1500);
slow_output("It seems like something has changed.");
line_break();
Sleep(1500);
slow_output("Let me take you back.");
Sleep(1500);
clear_screen();
goto homepage;
}
else
{
slow_output("This option is not available,please reenter:");
goto homepage_selection;
}
}
int main()
{
homepage();
return 0;
}剪贴板
剪贴板 o7bpydm6
剪贴板信息
剪贴板信息
- 收录
- 更新