文档章节

好假的老虎机(^_^)

轻触快乐
 轻触快乐
发布于 2016/12/04 20:52
字数 2752
阅读 2
收藏 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;}}
	}

}

 

© 著作权归作者所有

共有 人打赏支持
轻触快乐
粉丝 19
博文 8
码字总数 3480
作品 0
成都
程序员
推荐系统遇上深度学习(十二)--推荐系统中的EE问题及基本Bandit算法

1、推荐系统中的EE问题 Exploration and Exploitation(EE问题,探索与开发)是计算广告和推荐系统里常见的一个问题,为什么会有EE问题?简单来说,是为了平衡推荐系统的准确性和多样性。 EE问...

石晓文
06/09
0
0
程序员:你知道何时停止学习新语言吗?

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

it168网站
2017/11/28
0
0
jQuery 插件--SlotMachine

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

dowebok
2014/05/19
1K
0
HTML5应用——欢乐老虎机

在上面一篇博文中,我介绍了HTML5应用的简易播放器,这篇博文中介绍一个比较复 杂的HTML5游戏-老虎机。 寒假在家玩老虎机输了些许钱,所以自己就萌生了写个老虎机的游戏。开始打算用Visual ...

晨曦之光
2012/02/17
0
3
用神经网络对页面登录进行多参数优化的小妙招

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

雷锋字幕组
07/26
0
0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

八大包装类型的equals方法

先看其中一个源码 结论:八大包装类型的equals方法都是先判断类型是否相同,不相同则是false,相同则判断值是否相等 注意:包装类型不能直接用==来等值比较,否则编译报错,但是数值的基本类型...

xuklc
36分钟前
1
0
NoSQL , Memcached介绍

什么是NoSQL 非关系型数据库就是NoSQL,关系型数据库代表MySQL 对于关系型数据库来说,是需要把数据存储到库、表、行、字段里,查询的时候根据条件一行一行地去匹配,当量非常大的时候就很耗...

TaoXu
昨天
0
0
890. Find and Replace Pattern - LeetCode

Question 890. Find and Replace Pattern Solution 题目大意:从字符串数组中找到类型匹配的如xyy,xxx 思路: 举例:words = ["abc","deq","mee","aqq","dkd","ccc"], pattern = "abb"abc ......

yysue
昨天
0
0
Linux | Redis

写在前面的话 常言道,不作笔记不读书。在下是深有体会啊,所以,跟我一起做下本节的笔记吧,或许多年以后,你一定会感谢今天的你。 安装 在官网的下载页 Redis Download 直接写了在Linux的安...

冯文议
昨天
1
0
NoSQL-memcached

NoSQL介绍 NoSQL叫非关系型数据库。而关系型数据库代表有MySQL。对于关系型数据库来说,是需要把数据存储到库、表、行、字段里,查询的时候根据条件一行一行地去匹配,当量非常大的时候就很...

ln97
昨天
0
0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

返回顶部
顶部