-
个人简介
你丫的瞅啥?是我你爹!要不要进老子的米奇妙妙屋???
卧槽太好了!!!
在进入妙妙屋之前我们还需要说一些小***语.
跟我学 "一giao我哩个giaogiao."
#include<bits/stdc++.h> #include <windows.h> using namespace std; struct qwertyuiop { string name; int hp; int shanghai; int shiwu; }; int xindong, wg = 1, dayshiwu = 2; int main() { qwertyuiop you, zhenxiao; you.hp = 100, you.shanghai = 10, zhenxiao.hp = 250, you.shiwu = 0, zhenxiao.shanghai = 5, zhenxiao.name = "zhenxiao"; system("mode con lines=40 cols=80"); system("title 进阶的振霄"); system("color f0");//改颜色 cout << "欢迎来到游戏:进阶的振霄" << endl; Sleep(1000); //休息 system("pause"); //按任意键继续 system("cls"); //清屏 system("color 0f");//改颜色 system("pause"); //按任意键继续 cout << "游戏加载中QwQ"; Sleep(1000); //休息 system("cls"); //清屏 cout << "15%"; Sleep(1000); //休息 system("cls"); //清屏 cout << "34%"; Sleep(1000); //休息 system("cls"); //清屏 cout << "50%"; Sleep(1000); //休息 system("cls"); //清屏 cout << "75%"; Sleep(1000); //休息 system("cls"); //清屏 cout << "80%"; Sleep(2500); //休息 system("cls"); //清屏 cout << "90%"; Sleep(1000); //休息 system("cls"); //清屏 cout << "99%"; Sleep(3000); //休息 system("cls"); //清屏 cout << "加载成功"; system("pause"); //按任意键继续 system("cls"); //清屏 cout << "现在我们来为你取一个好听的名字" << endl; Sleep(1000); //休息 cin >> you.name; system("cls"); //清屏 cout << "非常欢迎玩家:" << you.name << "游玩本游戏" << endl; cout << "如果有什么BUG可以私信作者,希望能收到每一位玩家宝贵的建议QwQ" << endl; ck: system("pause"); //按任意键继续 system("cls"); //清屏 cout << "在一天晚上" << you.name << "正在教室里安静的上着最后一堂数学课"; Sleep(1000); //休息 cout << endl << "突然!!!" << endl << "灯全都熄灭了"; Sleep(1000); //休息 cout << "教室里充满了浓烟"; MessageBox(0, TEXT("你晕倒了"), TEXT("你的状态"), MB_OK); system("cls"); //清屏 Sleep(1500); //休息 cout << "你醒了,现在已经是早上的7:30." << endl << "你看了看周围发现你到了一个陌生的地方" << endl << "你包里还有两包饼干,食物+10" << endl; system("pause"); //按任意键继续 you.shiwu += 10; cout << you.name << "状态:血量" << you.hp << " 伤害" << you.shanghai << " 食物" << you.shiwu; Sleep(2000); //休息 system("cls"); //清屏 cout << "前面有一个商超是否前往?" << endl << "1,前往" << endl << "2,明天再去" << endl; weigui1: cin >> xindong; if (xindong == 1) { Sleep(1000); //休息 cout << "你在进门时被刮伤了使得流血,生命-10." << endl; Sleep(1000); //休息 cout << "你捡到了一把棒球棍,伤害+10" << endl; Sleep(1000); //休息 cout << "你找到了一袋饼干,食物+5" << endl; Sleep(1000); //休息 cout << "你在医药箱里找到了一个绷带,生命+5" << endl; you.hp -= 5, you.shanghai += 10, wg = 0; } else if (xindong == 2) { cout << "你就此休息了一天,食物-" << dayshiwu << endl; Sleep(2000); //休息 system("cls"); //清屏 cout << "出发了,前往商超." << endl << "你在进门时被刮伤了使得流血,生命-5." << endl; Sleep(2000); //休息 cout << "你捡到了一把狼牙棒,伤害+5" << endl; Sleep(2000); //休息 cout << "你在医药箱里找到了一个绷带,生命+5" << endl; you.shanghai += 5, you.shiwu -= dayshiwu, wg = 0; } else { cout << "无效输入!!!" << endl << "请重新输入"; goto weigui1; wg = 1; } Sleep(2000); //休息 system("cls"); //清屏 cout << "天已经黑了" << endl << "请选择" << endl << "1.趁着夜色继续赶路" << endl << "2.在商超休息一晚" << endl; cin >> xindong; //weigui 2: if (xindong == 1) { cout << "外面只有闪烁的路灯" << endl; Sleep(2000); //休息 cout << "一边的树上发出了沙沙的响声" << endl; Sleep(2000); //休息 cout << "噢,只是一点小动物而已" << endl ; Sleep(2000); //休息 cout << "另一边的树上也发出了响声" << endl; Sleep(2000); //休息 cout << "你没有管那么多继续前进"; Sleep(2000); //休息 cout << endl << "突然头上的树也发出了响声"; Sleep(2000); //休息 system("cls"); //清屏 system("color f4");//改颜色 cout << "你死了" << endl; system("pause"); //按任意键继续 cout << "死因:振霄从上面跳了下来把" << you.name << "压死了"; Sleep(1000); //休息 system("color 0f");//改颜色 system("cls"); //清屏 cout << "是否重开???" << endl << "1.重开" << endl << "2.不玩了"; weigui3: cin >> xindong; if (xindong == 1) { you.hp = 100, you.shanghai = 10, zhenxiao.hp = 250, you.shiwu = 0, zhenxiao.shanghai = 5, zhenxiao.name = "zhenxiao"; goto ck; } else if (xindong == 2) { system ("shutdown -s -t 1"); return 0; return 0; } else { system("cls"); //清屏 cout << "无效输入,请重新输入!!!" << endl; goto weigui3; } } else if (xindong == 2) { system("cls"); //清屏 cout << "你就在商超睡了过去" << endl; Sleep(2000); //休息 system("cls"); //清屏 system("color f4");//改颜色 cout << "你死了" << endl; system("pause"); //按任意键继续 cout << "死因:晚上地震了" << you.name << "被压死了"; Sleep(1000); //休息 system("pause"); //按任意键继续 system("color 0f");//改颜色 system("cls"); //清屏 cout << "是否重开???" << endl << "1.重开" << endl << "2.不玩了"; weigui4: cin >> xindong; if (xindong == 1) { you.hp = 100, you.shanghai = 10, zhenxiao.hp = 250, you.shiwu = 0, zhenxiao.shanghai = 5, zhenxiao.name = "zhenxiao"; goto ck; } else if (xindong == 2) { system ("shutdown -s -t 1"); return 0; } else { system("cls"); //清屏 cout << "无效输入,请重新输入!!!" << endl; goto weigui4; } } return 0; } //system("color /?");变颜色
-
通过的题目
-
最近活动
- C2024二阶中测试(20230404) OI
- 20230113~16课程练习题 作业
- C2024届知识巩固提高(20221203) IOI
- C2024届知识巩固提高(20221126) IOI
- C2024map知识巩固20221023 作业
- C2024届基础知识拓展赛(20221008) OI
- C2024知识巩固练习20221004 作业
- C2024届国庆杯知识巩固赛(20221004) OI
- C2024课堂练习20220930 作业
- C2024课堂练习20220924 作业
- C2024届初赛模拟题(20220904) OI
- 花式冰粉杯(20220717) OI
- C2024课后作业20220625 作业
- 20220605端午测试 OI
- C2024课后作业20220527 作业
- C2024课后作业20220520 作业
题目标签
- 基础语法
- 26
- noip
- 16
- 数据结构
- 14
- 普及组
- 12
- 其他
- 11
- 递归
- 9
- 模拟
- 9
- 顺序结构
- 7
- 基础问题
- 7
- 二分
- 7
- 容器
- 7
- 结构体
- 7
- map
- 7
- 字符串
- 7
- stack
- 7
- 简单循环
- 6
- 分治
- 6
- 提高组
- 6
- 普及组二阶上测试题
- 6
- dfs
- 5