文档章节

好假的老虎机(^_^)

轻触快乐
 轻触快乐
发布于 2016/12/04 20:52
字数 2752
阅读 4
收藏 0
#include<stdio.h>
#include<time.h>
#include<windows.h>
#include<string.h>

void apple(){
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,1,0,0,0,1,1,1,0,0,0,1,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%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1,1,0,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,0,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0);
	printf("%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c%2c\n",1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1);
}
void main(){
	int i;
	char a[10];
	printf("请输入 苹果 梨子 香蕉 西瓜 樱桃 叉 这6个东西中的一个:");scanf("%s",&a);
	for(i=0;i<60;i++){
		if(i%6==0){apple();}
		if(i%6==1){pear();}
		if(i%6==2){banana();}
		if(i%6==3){watermelon();}
		if(i%6==4){cherry();}
		if(i%6==5){wrong();}
		Sleep(50);
		system("cls");
	}
	
	srand(time(0));
	int num=rand()%6;
	for(i=0;i<60;i++){
		if(num==0){if(strcmp(a,"苹果")==0){apple();printf("^-^你猜对了!!!\n");break;}else{apple();printf("-_-你猜错了!!!\n");break;}}
		if(num==1){if(strcmp(a,"梨子")==0){pear();printf("^-^你猜对了!!!\n");break;}else{pear();printf("-_-你猜错了!!!\n");break;}}
		if(num==2){if(strcmp(a,"香蕉")==0){banana();printf("^-^你猜对了!!!\n");break;}else{banana();printf("-_-你猜错了!!!\n");break;}}
		if(num==3){if(strcmp(a,"西瓜")==0){watermelon();printf("^-^你猜对了!!!\n");break;}else{watermelon();printf("-_-你猜错了!!!\n");break;}}
		if(num==4){if(strcmp(a,"樱桃")==0){cherry();printf("^-^你猜对了!!!\n");break;}else{cherry();printf("-_-你猜错了!!!\n");break;}}
		if(num==5){if(strcmp(a,"叉")==0){wrong();printf("^-^你猜对了!!!\n");break;}else{wrong();printf("-_-你猜错了!!!\n");break;}}
	}

}

 

© 著作权归作者所有

共有 人打赏支持
上一篇: 快乐每一天
下一篇: 今日之练(2)
轻触快乐
粉丝 19
博文 8
码字总数 3480
作品 0
成都
程序员
私信 提问
jQuery 插件--SlotMachine

SlotMachine 是一个基于 jQuery 的插件,它能够制作类似老虎机的效果,可以分别设置每个图案的停止。除了制作老虎机效果外,还可以制作抽奖、幻灯片等效果。 查看演示

dowebok
2014/05/19
1K
0
程序员:你知道何时停止学习新语言吗?

  【IT168 资讯】我花费了一年多的时间,不断地学习新的编程语言和框架,鬼知道为什么有这么多新东西可以学习。对于每一种新的语言或框架,我自认为获得的价值有可能超过迄今为止学到的任何...

it168网站
2017/11/28
0
0
《战争机器4》Win10版发售时将不支持HDR

9月20日消息,据悉Win10版和Xbox One的跨平台动作射击游戏《战争机器4》在PC版首发时将不支持HDR技术。即使电视支持HDR技术,本作也不会支持。不过微软表示今后将会通过推送补丁的方式让《战...

ssw1025
2016/11/10
1
0
用神经网络对页面登录进行多参数优化的小妙招

雷锋网按:本文为 AI 研习社编译的技术博客,原标题 Neural networks for landing page optimization,作者为 Oleksandr Savsunenko 。 翻译 | 赵萌 校对 | 余杭 整理 | MY 用增强学习将 A/...

雷锋字幕组
07/26
0
0
省了大笔钱:《战争机器4》Win10版港区半价促销

WIN10之家讯: 11月4日消息,《战争机器4》已经推出了一段时间了,这款游戏凭借着其出众的游戏素质受到了广大玩家的好评,但是由于某些原因,目前《战争机器4》在国内处于下架状态,之前没有...

ssw1025
2016/11/08
3
0

没有更多内容

加载失败,请刷新页面

加载更多

序列化与反序列化实现

一、序列化和反序列化的概念 把对象转换为字节序列的过程称为对象的序列化。 把字节序列恢复为对象的过程称为对象的反序列化。 对象序列化之后得到的字节序列,主要有两种用途:   1) 把对...

狼王黄师傅
20分钟前
0
0
Spring boot 各种常用注解总结(不断完善中)

@Configuration把一个类作为一个IoC容器,它的某个方法头上如果注册了@Bean,就会作为这个Spring容器中的Bean。 @Scope注解 作用域 @Lazy(true) 表示延迟初始化 @Service用于标注业务层组件、...

覃大光
22分钟前
2
1
《让家庭教育回归生活》读书笔记3000字范文

《让家庭教育回归生活》读书笔记3000字范文: 以前,只知道新东方是教英语的,也培训挖掘机司机,一直不知道他们还研究家庭教育。读了《让家庭教育回归生活》一书,才知道他们的家庭教育高峰...

原创小博客
34分钟前
3
0
spring学习笔记(二)spring 事件的使用

spring 中的事件 spring事件通过订阅发布 可以解耦操作 可以同步 可以异步 步骤 编写事件 通过继承org.springframework.context.ApplicationEvent 来编写事件 public ApplicationEvent(Obj...

NotFound403
昨天
15
0
特斯拉车主成功破解了自己Model 3汽车

据汽车博客Electrek消息,一位特斯拉车主成功破解了自己Model 3汽车,还在此基础上运行了Ubuntu。 这位叫trsohmers的网友表示,“功劳大多要归到Ingineerix的头上,他花了数月才找到初始的那...

linuxCool
昨天
6
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部