考试游戏0.0.2

#include<bits/stdc++.h>
using namespace std;
int main()
{
    srand((unsigned)time(NULL));
    system("color 0F");
    printf("文字游戏:考试结束\n");
    getchar();
    printf("出品人:LJL\n");
    getchar();
    printf("版本:0.0.2(英语差,语文和数学好的小学尖子生版)\n");
    getchar();
    printf("按ENTER(回车)键开始");
    getchar();
    system("cls");
    printf("等待加载...\n0");
    getchar();
    system("cls");
    printf("准备加载...\n▊15");
    getchar();
    system("cls");
    printf("加载资源中...\n█▎25");
    getchar();
    system("cls");
    printf("加载资源中...\n██▊55");
    getchar();
    system("cls");
    printf("加载资源中...\n███▌70");
    getchar();
    system("cls");
    printf("加载资源中...\n███▊75");
    getchar();
    system("cls");
    printf("正在加载章节...\n████▌90");
    getchar();
    system("cls");
    printf("正在加载章节...\n█████100");
    getchar();
    system("cls");
    printf("正在进入游戏...\n█████100");
    getchar();
    system("cls");
	int n,i;
	cout<<"期中考试考完了。"<<endl;
	getchar();
	system("cls");
	cout<<"你妈问你:“期中考试考完了吗?”"<<endl;
	getchar();
	system("cls");
	cout<<"1|考完了。"<<endl;
	cout<<"2|没考完。"<<endl;
	while(true)
	{
		scanf("%d",&n);
		if(n==1)
		{ 
			getchar();
			system("cls");
			break;
		}
		else if(n==2)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你敢骗你妈!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"1|考完了。"<<endl;
			cout<<"2|没考完。"<<endl;
		}
		else if(n<1||n>2)
		{ 
			getchar();
			system("cls");
			cout<<"无效输入。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"1|考完了。"<<endl;
			cout<<"2|没考完。"<<endl;
		}
	else break;
	}
	getchar();
    system("cls");
	cout<<"那好,你英语考多少?"<<endl;
	cout<<"请输入你的英语分数:"<<endl;
	while(true)
	{
		scanf("%d",&n);
		if(n>60&&n<100)
		{ 
			getchar();
			system("cls");
			cout<<"还行!"<<endl;
			break;
		}
		else if(n==100)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你敢骗你妈!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你英语考多少?"<<endl;
			cout<<"请输入你的英语分数:"<<endl;
		}
		else if(n<0||n>100)
		{
			getchar();
			system("cls");
			cout<<"无效输入。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你英语考多少?"<<endl;
			cout<<"请输入你的英语分数:"<<endl;
		}
		else if(n==0)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你敢考0分!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你英语考多少?"<<endl;
			cout<<"请输入你的英语分数:"<<endl;
		}
		else if(n==60)
		{
			getchar();
			system("cls");
			cout<<"怎么才及格!"<<endl;
			getchar();
			system("cls");
			cout<<"算了,饶你一回。"<<endl;
			break;
		}
		else if(n<60&&n>0)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你怎么又没及格!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你英语考多少?"<<endl;
			cout<<"请输入你的英语分数:"<<endl;
		}
	else break;
	}
	getchar();
    system("cls");
	cout<<"那好,你语文考多少?"<<endl;
	cout<<"请输入你的语文分数:"<<endl;
	while(true)
	{
		scanf("%d",&n);
		if(n==100)
		{ 
			getchar();
			system("cls");
			cout<<"还行!"<<endl;
			break;
		}
		else if(n==60)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你怎么才及格!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你语文考多少?"<<endl;
			cout<<"请输入你的语文分数:"<<endl;
		}
		else if(n<0||n>100)
		{
			getchar();
			system("cls");
			cout<<"无效输入。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你语文考多少?"<<endl;
		}
		else if(n==0)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你敢考0分!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你语文考多少?"<<endl;
			cout<<"请输入你的语文分数:"<<endl;
		}
		else if(n>60&&n<100)
		{
			getchar();
			system("cls");
			cout<<"你怎么没考好。"<<endl;
			getchar();
			system("cls");
			cout<<"算了,饶你一回。"<<endl;
			break;
		}
		else if(n<60&&n>0)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你怎么敢没及格!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你语文考多少?"<<endl;
			cout<<"请输入你的语文分数:"<<endl;
		}
	else break;
	}
	getchar();
    system("cls");
	cout<<"那好,你数学考多少?"<<endl;
	cout<<"请输入你的数学分数:"<<endl;
	while(true)
	{
		scanf("%d",&n);
		if(n==100)
		{ 
			getchar();
			system("cls");
			cout<<"还行!"<<endl;
			break;
		}
		else if(n==60)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你怎么才及格!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你数学考多少?"<<endl;
			cout<<"请输入你的数学分数:"<<endl;
		}
		else if(n<0||n>100)
		{
			getchar();
			system("cls");
			cout<<"无效输入。"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你数学考多少?"<<endl;
			cout<<"请输入你的数学分数:"<<endl;
		}
		else if(n==0)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你敢考0分!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你数学考多少?"<<endl;
			cout<<"请输入你的数学分数:"<<endl;
		}
		else if(n>60&&n<100)
		{
			getchar();
			system("cls");
			cout<<"你怎么没考好。"<<endl;
			getchar();
			system("cls");
			cout<<"算了,饶你一回。"<<endl;
			break;
		}
		else if(n<60&&n>0)
		{
			getchar();
			system("cls");
			cout<<"小哔崽子,你怎么敢没及格!"<<endl;
			getchar();
			system("cls");
			cout<<"你被你妈打死"<<endl;
			i++;
			getchar();
			system("cls");
			cout<<"那好,你数学考多少?"<<endl;
			cout<<"请输入你的数学分数:"<<endl;
		}
	else break;
	}
	getchar();
    system("cls");
	cout<<"你成功躲过一劫。"<<endl;
	getchar();
    printf("曲终一散,黄粱一梦\n");
    getchar();
    printf("Wake Up\n");
    getchar();
    printf("出自MC终末之诗\n");
    getchar();
    printf("谢谢参与游戏~~Byebye!");
    getchar();
    printf("感谢CSZLM,minecraft_herobrine,zhenglier");
    getchar();
    cout<<"未完待续······"<<endl;
	return 0;
}

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值