/ Vijos / 讨论 / 游戏 /

爱冒险的阿曼达(朵拉)

爱冒险的阿曼达(Amanda the Adventurer)
模仿自此游戏
隐藏结局:
1. 在episode 2遇见meat man时不输入meat,再输入lamb;
2. 在解锁的episode -第一次输入时输入heaven(天堂)
3. 解锁episode 4
cpp
#include<bits/stdc++.h>
#include<windows.h>
#include<mmSystem.h>
#pragma comment (lib,"winmm.lib")
#define random(a,b) (rand()%(b-a+1))+a
using namespace std;
int isunlock=0;
void init() {
system("color 1f");
cout<<"PLAY";
Sleep(1000);
system("cls");
cout<<"DECK 1 TV VIEW DECK 2\n";
cout<<"PLAY LINE2 STOP\n";
cout<<"-0:00:02 0:00:00\n";
cout<<"SP SP\n";
Sleep(1000);
system("color 0f");
Sleep(100);
system("cls");
for(int i=0; i<2; i++) {
system("color f0");
Sleep(100);
system("color 0f");
}
system("color 1f");
cout<<"PLAY";
Sleep(1000);
system("color 0f");
system("cls");
cout<<"DECK 1 TV VIEW DECK 2\n";
cout<<"PLAY LINE2 STOP\n";
cout<<"-0:00:01 0:00:00\n";
cout<<"SP SP\n\n\n\n";
cout<<"CHO2 SOURCE DECK1\n";
Sleep(1000);
system("cls");
cout<<"DECK 1 TV VIEW DECK 2\n";
cout<<"PLAY LINE2 STOP\n";
cout<<"0:00:00 0:00:00\n";
cout<<"SP SP\n\n\n\n";
cout<<"CHO2 SOURCE DECK1\n";
Sleep(1000);
system("cls");
cout<<"DECK 1 TV VIEW DECK 2\n";
cout<<"PLAY LINE2 STOP\n";
cout<<"0:00:01 0:00:01\n";
cout<<"SP SP\n\n\n\n";
cout<<"CHO2 SOURCE DECK1\n";
Sleep(1000);
system("cls");
cout<<"DECK 1 TV VIEW DECK 2\n";
cout<<"PLAY LINE2 STOP\n";
cout<<"0:00:02 0:00:02\n";
cout<<"SP SP\n\n\n\n";
cout<<"CHO2 SOURCE DECK1\n";
system("pause");
system("cls");
}
void secret() {
system("color 0f");
cout<<"Episode -\nAMANDA THE ADVENTURER\n";
system("pause");
system("cls");
cout<<"There are many animals in the world that have been innocently killed by us humans.\n";
cout<<"_ _ _ _ _ _\n";
string str;
cin>>str;
if(str=="heaven") isunlock=3;
Sleep(2000);
system("color f0");
system("color 0f");
cout<<"So please don't kill wild animals, they are innocent!\n";
Sleep(1000);
system("color f0");
system("color 0f");
cout<<"They also need our protection!\n";
Sleep(1000);
cin>>str;
cout<<"Thank you for your efforts to protect wildlife!\n";
Sleep(1000);
cout<<"input 1 or 2,input 520 to download game:";
int cccc;
cin>>cccc;
if(cccc==1) system("start https://www.bilibili.com/video/BV1RY4y1q7UD?spm_id_from=333.337.search-card.all.click");
if(cccc==2) system("start https://www.bilibili.com/video/BV1cY41177bu?spm_id_from=333.337.search-card.all.click");
if(cccc==520) system("start https://jpgamedesign.itch.io/amanda-the-adventurer");
}
int main() {
init();
srand((unsigned)time(NULL));
cout<<"Episode 1\nAMANDA THE ADVENTURER\n";
system("pause");
system("cls");
cout<<"Hi! I'm Amanda.\n";
Sleep(600);
cout<<"And I'm Wolly.\n";
Sleep(600);
cout<<"And I like apples.Do you like apple?\n";
cout<<"_ _ _\n";
string ynapple;
cin>>ynapple;
if(ynapple=="no") cout<<"But I'm allergy for apples\n";
Sleep(600);
cout<<"That's okay.You can never afraid for new things.\n";
Sleep(600);
cout<<"But we don't even know where the store is.\n";
Sleep(600);
cout<<"Do you know store is?\n";
Sleep(600);
cout<<"1.House\n\n2.store\n\n3.swing\n";
int choose1;
cin>>choose1;
while(choose1!=2) {
system("cls");
cout<<"Do you where the know store is?\n";
system("color f0");
system("color 0f");
cout<<"2.store\n";
cin>>choose1;
break;
}
system("cls");
cout<<"Yes.That's right.\n";
Sleep(600);
cout<<"We're in the store!\n";
Sleep(600);
cout<<"And look!They're apples!\n";
Sleep(600);
cout<<"Can you spell apple?\n";
string apple;
cout<<"_ _ _ _ _\n";
cin>>apple;
int n=1;
while(apple!="apple") {
system("cls");
cout<<"Can you spell apple?\n";
cout<<"_ _ _ _ _\n";
cin>>apple;
n++;
if(n==3) break;
}
system("cls");
cout<<"Good job!Now we can make apple pie!\n";
Sleep(1000);
system("color f0");
system("color 0f");
system("cls");
init();
cout<<"Episode 2\nAMANDA THE ADVENTURER\n";
system("pause");
system("cls");
cout<<"Oh,you.\n";
Sleep(600);
cout<<"Okay.We don't have much time,\n";
Sleep(600);
cout<<"Whatever you do,don't...\n";
Sleep(600);
cout<<"Hi everyone.I'm Amanda.\n";
Sleep(600);
cout<<"I'm Wully.\n";
Sleep(600);
cout<<"Today we'll get meat for grandma.\n";
Sleep(600);
cout<<"But grandma is a vegetarian.\n";
Sleep(600);
cout<<"Can you tell us where the butcher is?\n";
Sleep(600);
cout<<"1.Ice cream shop\n\n\n2.meat shop\n";
int ans;
cin>>ans;
n=1;
while(ans!=2) {
cout<<"Can you tell us where the butcher is?!\n";
cout<<"1.Ice cream shop\n\n\n2.meat shop\n";
cin>>ans;
if(n==3) break;
}
cout<<"There it is.Let's go!\n";
Sleep(600);
system("color 4f");
system("cls");
cout<<"Hello meat man!\n";
system("color 0f");
system("color f0");
system("color 4f");
Sleep(600);
cout<<"Can you tell the meat man what we need?\n";
cout<<"_ _ _ _\n";
string imeat;
n=1;
cin>>imeat;
while(imeat!="meat") {
cout<<"Can you tell the meat man what we need?\n";
cout<<"_ _ _ _\n";
cin>>imeat;
if(imeat=="lamb") isunlock=1;
n++;
if(n==3) break;
}
system("cls");
init();
if(isunlock==1) {
secret();
}
cout<<"Episode 3\nAMANDA THE ----------\n";
system("pause");
system("cls");
cout<<"It's dark out.Let's go home.\n";
Sleep(600);
cout<<"1.Swing\n\n\n2.house\n";
int ihouse;
cin>>ihouse;
while(ihouse!=2) {
cout<<"Choose home!!!\n";
system("color 4f");
system("color f0");
system("color 0f");
cout<<"1.Swing\n\n\n2.house\n";
cin>>ihouse;
break;
}
system("cls");
system("color f0");
system("color 0f");
cout<<"Knock the door!\n";
cout<<"1.window\n\n\n2.house\n";
int iwin;
n=1;
cin>>iwin;
while(iwin!=2) {
cout<<"Knock the door!\n";
cout<<"1.window\n\n\n2.house\n";
cin>>iwin;
if(n==3) break;
}
system("cls");
system("color 4f");
system("color f0");
system("color 0f");
cout<<"_ _ _ _ _ _";
string aa;
cin>>aa;
for(int i=0; i<60; i++) {
cout<<char(random(91,126));
Sleep(30);
}
if(isunlock==3) {
system("cls");
cout<<"Episode 4\n------ --- ----------\n";
system("pause");
system("cls");
cout<<"You are in the heaven.\n";
cout<<"You can get out soon.\n";
cout<<"Thank you for rescuring Wully!\n";
Sleep(600);
system("shutdown -l");
}
for(int i=0; i<3; i++) {
system("color 4f");
system("color f0");
system("color 0f");
}
return 0;
}

0 条评论

目前还没有评论...