小游戏2.0=)(后续会更新)
2026-03-15 10:19:21
发布于:浙江
//此代码为ACGO ID4776490制作,抄袭必究 =(
#include<bits/stdc++.h>
#include<Windows.h>
using namespace std;
int n;
const int ID=4776490;
void game_3(int n){
system("cls");
cout<<"很抱歉QAQ,本章节还未更新,请耐心等待"<<endl;
Sleep(1000);
system("pause");
return;
}
void end_1(int n){
cout<<"你离开了寺庙,糊里糊涂地乘了一辆路过的出租车回了家"<<endl;
Sleep(1500);
cout<<"达成结局1------回家"<<endl;
Sleep(1500);
system("pause");
return;
}
void game_2(int n){
Sleep(2000);
system("cls");
system("color 08");
cout<<"第二章"<<endl;
Sleep(1000);
cout<<"寺庙"<<endl;
system("pause");
cout<<endl;
cout<<"(你进入了寺庙)"<<endl;
Sleep(1500);
cout<<"这里......为什么比我家还乱啊......"<<endl;
Sleep(1500);
cout<<"(你看见了两道门,一左一右,你要进哪一扇?)"<<endl;
cout<<"1-左 2-右"<<endl;
cin>>n;
if(n==2){
cout<<"你走进了门"<<endl;
Sleep(1500);
cout<<"你发现门后正坐着一位衣衫褴褛的僧人"<<endl;
Sleep(1500);
cout<<"过去打听情报?"<<endl;
cout<<"1-是 2-否"<<endl;
cin>>n;
if(n==1){
cout<<"僧人不语,只是自顾自念经"<<endl;
Sleep(1500);
cout<<"(你正准备离开,突然僧人起身,告知你前面有一片墓地)"<<endl;
Sleep(1500);
cout<<"前往墓地?"<<endl;
cout<<"1-是 2-否"<<endl;
cin>>n;
if(n==1){
cout<<"你已通过第二章"<<endl;
Sleep(1000);
cout<<"1-前往第三章 2-退出游戏"<<endl;
cin>>n;
if(n==1){
game_3(n);
}else{
return;
}
}else{
end_1(n);
}
}else{
end_1(n);
}
}else{
cout<<"你没有想到门后是陷阱,被刺穿了"<<endl;
Sleep(1000);
system("pause");
return;
}
}
void game_1(int n){
system("cls");
system("color 06");
cout<<"第一章"<<endl;
Sleep(1000);
cout<<"荒原"<<endl;
Sleep(1000);
system("pause");
cout<<endl;
cout<<"咳......咳......"<<endl;
Sleep(1500);
cout<<"这是......哪里啊......"<<endl;
Sleep(1500);
cout<<"(前方似乎有一位老者)"<<endl;
Sleep(1500);
cout<<"过去问路?"<<endl;
cout<<"1-是 2-否"<<endl;
cin>>n;
if(n==1){
cout<<"您好......请问......这里是......"<<endl;
Sleep(1500);
cout<<"老者:天那......这片荒原之上竟然还能看见人的踪迹......"<<endl;
Sleep(1500);
cout<<"老者:这里本是一片生机勃勃,现在啊......哎......"<<endl;
Sleep(1500);
cout<<"到底是怎么了?"<<endl;
Sleep(1500);
cout<<"老者:就在不远处的寺庙之中,据说有着社么不为人知的秘密......"<<endl;
Sleep(1500);
cout<<"前往寺庙?"<<endl;
cout<<"1-是 2-否"<<endl;
cin>>n;
if(n==1){
cout<<"你已通过第一章"<<endl;
Sleep(1000);
cout<<"1-前往第二章 2-退出游戏"<<endl;
cin>>n;
if(n==1){
game_2(n);
}else{
return;
}
}else{
cout<<"你最终没有离开这一片荒原,与老者同葬"<<endl;
Sleep(1000);
system("pause");
return;
}
}else{
cout<<"你迷失在了荒原之中,郁闷而死"<<endl;
Sleep(1000);
system("pause");
return;
}
}
void game(int n){
system("cls");
cout<<"注意:";
Sleep(1000);
cout<<"游戏中途只能按×退出游戏,并丢失所有数据"<<endl;
Sleep(1000);
system("pause");
system("cls");
cout<<"选择章节"<<endl;
cout<<"输入数字1~2代表章节 0-返回 如果需要游玩DLC请输入:-1___DLC_1(沙漠)"<<endl;
cin>>n;
if(n==0){
return;
}
if(n==1){
game_1(n);
}
if(n==2){
game_2(n);
}
}
void start(int n){
system("cls");
Sleep(1000);
cout<<"启程"<<endl;
Sleep(750);
cout<<"1-开始游戏"<<endl;
cout<<"2-查看制作人员"<<endl;
cout<<"3-退出游戏"<<endl;
cout<<"4-查看游戏版本"<<endl;
cout<<"5-DLC+预告"<<endl;
cin>>n;
if(n==1){
game(n);
}
if(n==2){
system("cls");
Sleep(1000);
cout<<"制作:沈明=)(并非)扫福瑞~ ACGO ID:4776490"<<endl;
Sleep(1000);
cout<<"1-返回"<<endl;
cin>>n;
if(n==1){
start(n);
}
}
if(n==3){
system("cls");
cout<<"退出游戏后将无法恢复此次游玩的数据,确定要退出吗?"<<endl;
cout<<"1-是 2-否";
cin>>n;
if(n==1){
cout<<"选择退出方式"<<endl;
cout<<"1-退出并关机 2-返回(由于技术原因,暂不支持仅退出游戏,可以按×退出)"<<endl;
cin>>n;
if(n==1){
system("shutdown -s -t 15");
cout<<endl;
Sleep(1000);
cout<<"system(""shutdown -s -t 15"")"<<endl;
Sleep(14000);
}
if(n==2){
game(n);
}
}
if(n==2){
start(n);
}
}
if(n==4){
system("cls");
cout<<"当前游戏版本:"<<endl;
Sleep(500);
cout<<"v 3.2.1 DLC___1"<<endl;
Sleep(1000);
cout<<"1-返回";
cin>>n;
if(n==1){
start(n);
}
}
if(n==5){
system("cls");
cout<<"当前DLC:启程___主线"<<endl;
cout<<"DLC预告:启程___沙漠 上线时间:2026/4/2---2026/10/10"<<endl;
Sleep(1500);
cout<<"1-返回"<<endl;
cin>>n;
if(n==1){
start(n);
}
}
}
int main(){
Sleep(1500);
cout<<"温馨提示"<<endl;
Sleep(1500);
cout<<"本游戏不支持使用账号登录"<<endl;
Sleep(1000);
system("pause");
system("cls");
system("cls");
Sleep(1000);
cout<<"启程"<<endl;
Sleep(1000);
cout<<"输入数字以启动游戏(输入错误会导致bug)"<<endl;
Sleep(1000);
system("pause");
for( ; ; ){
start(n);
}
cout<<ID;
return 0;
}
这里空空如也



















有帮助,赞一个