- 分享
野外生存 第一章(更新版)
- 2024-8-23 18:28:29 @
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main(){
int rou = 0;
int mutou = 0;
cout << " 野外生存 第一章"<< endl;Sleep(800);
cout << endl;Sleep(800);
cout <<" 开始 a键 通知 b键"<< endl;Sleep(800);
cout <<endl;Sleep(800);
cout << " 请输入小写"<<endl; Sleep(800);
cout <<" 》》";Sleep(800);
char a;
cin >> a;
string c100;
int gongzuotai = 0;
if(a == 'a'){
cout<<"你失忆了"<<endl;Sleep(800);
cout<<"你不记得发生什么了。"<<endl;Sleep(800);
cout<<"连你的名字也忘了"<<endl;Sleep(800);
cout<<"但是你的意识让你明白"<<endl;Sleep(800);
cout<<"你必须活下去"<<endl;Sleep(800);
cout<<"先给自己取个名字吧"<<endl;Sleep(800);
cout<<" ";Sleep(800);
cin>>c100;
cout <<endl;
cout <<endl;
cout <<endl;
cout << "第一天"<<endl;Sleep(800);
cout << endl;Sleep(800);
cout << "1砍树 +3木头 2杀动物 +10肉 3探索"<<endl;Sleep(800);
cout <<" ";Sleep(800);
int b;
cin >>b;
if(b == 1){
cout << "获得意外惊喜!!!"<<endl;Sleep(800);
cout << "+3木头"<<endl;Sleep(800);
cout << "+4肉"<< endl;Sleep(800);
mutou = mutou + 3;
rou = rou + 4;
cout << endl;Sleep(800);
cout << endl;Sleep(800);
cout << endl;Sleep(800);
cout << endl;Sleep(800);
cout << "一个木头合成工作台"<<endl;Sleep(800);
cout << " 是1 否2"<<endl;Sleep(800);
cout << " ";Sleep(800);
int shi = 0;
cin >> shi;
if(shi == 1){
mutou = mutou - 1;
gongzuotai + 1;
cout << "+1工作台(每个只能用一次,用完后便会消失)"<<endl;Sleep(800);
}
}else if(b == 2){
cout << "+10肉"<< endl;Sleep(800);
rou = rou + 10;
}else{
int computer = rand()% 3 + 1;
if(computer == 2){
cout <<c100<<"死了"<<endl;Sleep(800);
cout <<c100<<"死于AC鸭的暴击"<<endl;Sleep(800);
cout<<"李老师:"<<endl;Sleep(800);
cout<<"菜就多练!"<<endl;Sleep(800);
return 0;
}else{
cout <<c100<<"死了"<<endl;Sleep(800);
cout <<c100<<"死于不小心打开了开学之门"<<endl;Sleep(800);
return 0;
}
}
int qiang = 0;
cout<<"你十分饥渴,你开始中暑了。"<<endl;Sleep(800);
cout<<"你必须前往荒岛中心寻找水源。"<<endl;Sleep(800);
cout<<"可是你此时看见海边竟然有一艘沉船"<<endl;Sleep(800);
cout<<"1探索沉船 2寻找水源"<<endl;Sleep(800);
cout<<" ";
cin>>b;
if(b==1){
qiang = 1;
cout<<"你探索沉船时发现了一瓶淡水,你迫不及待的喝了下去。"<<endl;Sleep(800);
cout<<"你不口渴了,随后你又发现了一把枪和一些物资和子弹。"<<endl;Sleep(800);
cout<<"你决定往荒岛中心走去。"<<endl;Sleep(800);
cout<<"你发现了一个山洞,里面十分适合居住"<<endl;Sleep(800);
cout<<"你决定安定下来。"<<endl;Sleep(800);
} else{
cout<<"探索荒岛中心发现了淡水湖,你迫不及待的喝了下去。"<<endl;Sleep(800);
cout<<"你不口渴了"<<endl;Sleep(800);
cout<<"你还发现了一个山洞,里面十分适合居住"<<endl;Sleep(800);
cout<<"你决定安定下来。"<<endl;Sleep(800);
}
if(qiang == 1){
mutou = 0;
cout<<"天黑了"<<endl;Sleep(800);
cout<<"你决定使用工作台把木头做成木板"<<endl;Sleep(800);
cout<<"封住洞口"<<endl;Sleep(800);
cout<<"过了一会 ......."<<endl;Sleep(800);
cout<<"“啪,啪,啪啪啪”"<<endl;Sleep(800);
cout<<"“哗啦”";Sleep(800);
cout<<"尽管有木板当着可是AC鸭还是闯了进来"<<endl;Sleep(800);
cout<<"你拿出了枪"<<endl;Sleep(800);
cout<<"突然发现火枪内湿了"<<endl;Sleep(800);
cout<<"这下只能看运气了"<<endl;Sleep(800);
#include <iostream>
#include <stdlib.h>
#include <time.h>
int bb2 = 3;
for(int i = 1;i<=3;i++){
cout <<"火枪火药量 还剩"<<bb2<<"次机会" << endl;Sleep(800);
cout <<"请选择" << endl;Sleep(800);
cout <<"1.少量" << endl;Sleep(800);
cout <<"2.中量" << endl;Sleep(800);
cout <<"3.大量" << endl;Sleep(800);
cout<<endl; Sleep(800);
int player;
cin >> player;
int computer = rand()% 3 + 1;
if (player == 2 && computer == 1 || player == 1 && computer == 3 || player == 3 && computer == 2){
cout <<"开枪失败了" << endl; Sleep(800);
bb2--;
} else{
cout <<"开枪成功了" << endl;Sleep(800);
break;
}
if(bb2 == 0){
cout<<"你未能及时开枪"<<endl;Sleep(800);
cout<<"被AC鸭杀死了"<<endl;Sleep(800);
cout<<"此处使用随机数,死了只能怪运气不好"<<endl; Sleep(800);
return 0;
}
}
cout<<"AC鸭被打倒在地"<<endl;Sleep(800);
cout<<"你趁机跑了出去"<<endl; Sleep(800);
}else{
cout<<"天黑了"<<endl;Sleep(800);
cout<<"风呼呼的吹。"<<endl;Sleep(800);
cout<<"你听到了野兽的叫声,在往这边靠近。"<<endl;Sleep(800);
cout<<"你开始祈祷"<<endl;Sleep(800);
cout<<"祈祷词:";Sleep(800);
string abcd;
cin>>abcd;
if(abcd == "我想参与制作"){
cout<<"声音渐渐消失了"<<endl;Sleep(800);
cout<<"你跑了出去"<<endl;Sleep(800);
}else{
cout<<"突然,你意识到是自己身上的肉"<<endl;Sleep(800);
cout<<"可是已经晚了"<<endl;Sleep(800);
cout <<c100<<"死了"<<endl;Sleep(800);
cout <<c100<<"死于SB鸭的暴击"<<endl;Sleep(800);
cout<<"李老师:"<<endl;Sleep(800);
cout<<"练就多菜!"<<endl;Sleep(800);
cout<<"祷告时输入‘我想参与制作’就可以活下来";Sleep(800);
return 0;
}
}
cout<<"天亮了"<<endl;Sleep(800);
cout<<"你决定建造庇护所"<<endl;Sleep(800);
cout<<"需要15个木头"<<endl;Sleep(800);
cout<<"输入“K ”扒开草丛"<<endl;Sleep(800);
string dcba;
for(int i = 1;i<=15;i++){
cout<<" ______"<<endl<<endl;Sleep(800);
cout<<"| 草 |"<<endl<<endl;Sleep(800);
cout<<"|______|"<<endl<<endl;Sleep(800);
cout<<" "; Sleep(800);
int computer = rand()% 3 + 1;
cin>>dcba;
if(computer == 1){
mutou += 1;
cout<<"木头 +1"<<endl;Sleep(800);
} else if(computer == 2){
mutou += 2;
cout<<"木头 +2"<<endl; Sleep(800);
} else {
mutou += 3;
cout<<"木头 +3"<<endl; Sleep(800);
}
if(mutou >= 15){
break;
}
}
cout<<"凑够了"<<endl;Sleep(800);
cout<<"你开始着手搭建"<<endl;Sleep(800);
cout<<"天色渐渐暗了下来"<<endl;Sleep(800);
cout<<"你终于建好了"<<endl;Sleep(800);
cout<<"给房子起个名字吧"<<endl;Sleep(800);
cout<<" ";Sleep(800);
cin>>dcba;
cout<<" ___________________________________ "<<endl;Sleep(800);
cout<<"|[][][][][] [[[]]] |"<<endl;Sleep(800);
cout<<"| 营 [] [] |"<<endl;Sleep(800);
cout<<"| 地 [] [] |火| |"<<endl;Sleep(800);
cout<<"|[][][][][] [] |"<<endl;Sleep(800);
cout<<"| [[[]]] |"<<endl;Sleep(800);
cout<<"| |"<<endl;Sleep(800);
cout<<"| |"<<endl;Sleep(800);
cout<<"| |"<<endl;Sleep(800);
cout<<"| |"<<endl;Sleep(800);
cout<<"| |"<<endl;Sleep(800);
cout<<"| |"<<endl;Sleep(800);
cout<<"|___________ |"<<endl;Sleep(800);
cout<<"| 制作台 [] [] |"<<endl;Sleep(800);
cout<<"|___________[]_门口_[]______________|"<<endl;Sleep(800);
cout<<endl;Sleep(800);
cout<<"忙了一天,你十分疲惫"<<endl;Sleep(800);
cout<<"一下子就睡着了"<<endl;Sleep(800);
cout<<"一切都在往好的方向走"<<endl;Sleep(800);
cout<<"但事实真的如此吗?"<<endl; Sleep(800);
}else{
cout << "想参与制作的同学可以私聊我们"<<endl;Sleep(800);
cout << "UID: 40352"<<endl;Sleep(800);
cout << "UID: 52519";Sleep(800);
return 0;
}
cout << "想参与制作的同学可以私聊我们"<<endl;Sleep(800);
cout << "UID: 40352"<<endl;Sleep(800);
cout <<"UID: 52519"; Sleep(800);
return 0;
}
6 条评论
-
胡立言 LV 3 @ 2024-8-24 10:39:49
这是最新版
-
2024-8-23 18:32:26@
后面大家如果要加什么功能可以跟我说一下,我去转告一下躺在棺材里的作者。
😄 2 -
2024-8-23 18:32:13@
不喜勿喷!!! (> o <)/
🤡 1
🤡 4 -
2024-8-23 18:31:54@
不喜勿喷!!! (> o <)/
🤡 1
🤡 4 -
2024-8-23 18:31:35@
不喜勿喷!!! (> o <)/
🤡 1
🤡 4 -
2024-8-23 18:28:53@
不喜勿喷!!! (> o <)/
🤡 4
- 1