打字游戏

2016-02-19 21:32 15 1 收藏

下面这个打字游戏教程由图老师小编精心推荐选出,过程简单易学超容易上手,喜欢就要赶紧get起来哦!

【 tulaoshi.com - 编程语言 】

#define MAXCOUNT 100
  #define FALLSTEP 5
  #define SCREENW 60
  #define SCREENH 19
  #define USERNAME "hmz"
  #include stdio.h
  #include stdlib.h
  #include dos.h#define FULLBLOCK 219
  int Alphabit[26][5][5]={0,0,1,0,0,
                          0,1,0,1,0,
                          1,1,1,1,1,
                          1,0,0,0,1,
                          1,0,0,0,1,      /* A */                        1,1,1,1,0,
                          1,0,0,0,1,
                          1,1,1,1,0,
                          1,0,0,0,1,
                          1,1,1,1,1,      /* B */                        0,1,1,1,0,
                          1,0,0,0,1,
                          1,0,0,0,0,
                          1,0,0,0,1,
                          0,1,1,1,0,      /* C */                        1,1,1,1,0,
                          1,0,0,0,1,
                          1,0,0,0,1,
                          1,0,0,0,1,
  
                           1,1,1,1,0,      /* D */                        1,1,1,1,1,
                          1,0,0,0,0,
                          1,1,1,1,0,
                          1,0,0,0,0,
                          1,1,1,1,1,      /* E */                        1,1,1,1,1,
                          1,0,0,0,0,
                          1,1,1,1,0,
                          1,0,0,0,0,
                          1,0,0,0,0,      /* F */                        0,1,1,1,0,
                          1,0,0,0,0,
                          1,0,1,1,0,
                          1,0,0,1,0,
                          0,1,1,1,0,      /* G */                        1,0,0,0,1,
                          1,0,0,0,1,
                          1,1,1,1,1,
  
                           1,0,0,0,1,
                          1,0,0,0,1,      /* H */                        0,1,1,1,0,
                          0,0,1,0,0,
                          0,0,1,0,0,
                          0,0,1,0,0,
                          0,1,1,1,0,      /* I */                        0,1,1,1,0,
                          0,0,1,0,0,
                          0,0,1,0,0,
                          1,0,1,0,0,
                          0,1,0,0,0,      /* J */                        1,0,0,1,0,
                          1,0,1,0,0,
                          1,1,0,0,0,
                          1,0,1,0,0,
                          1,0,0,1,0,      /* K */                        1,0,0,0,0,
                          1,0,0,0,0,
  
                           1,0,0,0,0,
                          1,0,0,0,0,
                          1,1,1,1,0,      /* L */                        0,1,0,1,0,
                          1,0,1,0,1,
                          1,0,1,0,1,
                          1,0,1,0,1,
                          1,0,1,0,1,      /* M */                        1,0,0,0,1,
                          1,1,0,0,1,
                          1,0,1,0,1,
                          1,0,0,1,1,
                          1,0,0,0,1,      /* N */                        0,1,1,1,0,
                          1,0,0,0,1,
                          1,0,0,0,1,
                          1,0,0,0,1,
                          0,1,1,1,0,      /* O */                        0,1,1,1,0,
  
                           1,0,0,0,1,
                          1,1,1,1,0,
                          1,0,0,0,0,
                          1,0,0,0,0,      /* P */                        0,1,1,1,0,
                          1,0,0,0,1,
                          1,0,0,0,1,
                          0,1,1,1,0,
                          0,0,0,0,1,      /* Q */                        0,1,1,1,0,
                          1,0,0,0,1,
                          1,1,1,1,0,
                          1,0,1,0,0,
                          1,0,0,1,0,      /* R */                        0,0,1,1,0,
                          0,1,0,0,1,
                          0,0,1,0,0,
                          0,1,0,1,0,
                          0,0,1,1,0,      /* S */                        1,1,1,1,1,
  
                           0,0,1,0,0,
                          0,0,1,0,0,
                          0,0,1,0,0,
                          0,0,1,0,0,      /* T */                        1,0,0,0,1,
                          1,0,0,0,1,
                          1,0,0,0,1,
                          1,0,0,0,1,
                          0,1,1,1,0,      /* U */                        1,0,0,0,1,
                          1,0,0,0,1,
                          1,0,0,0,1,
                          0,1,0,1,0,
                          0,0,1,0,0,      /* V */                        1,0,0,0,1,
                          1,0,0,0,1,
                          1,0,1,0,1,
                          0,1,0,1,1,
                          1,0,0,0,1,      /* W */                        1,0,0,0,1,
  
                           0,1,0,1,0,
                          0,0,1,0,0,
                          0,1,0,1,0,
                          1,0,0,0,1,      /* X */                        1,0,0,0,1,
                          0,1,0,1,0,
                          0,0,1,0,0,
                          0,0,1,0,0,
                          0,0,1,0,0,      /* Y */                        1,1,1,1,1,
                          0,0,0,1,0,
                          0,0,1,0,0,
                          0,1,0,0,0,
                          1,1,1,1,1,      /* Z *

来源:http://www.tulaoshi.com/n/20160219/1626433.html

延伸阅读
标签: flash教程
演示: 看不到动画效果的朋友请去这里观看:http://bbs.jcwcn.com/thread-110328-1-1.html [目的]掌握length和substr的用法 [步骤] 第一步:导入一打字声音到主场景中的第一帧上,在属性面板中把声音设置为“事件”、“循环”。(如果加载库中的声音,在loading时效果不好) 第二步:在帧上写如下...
交押金不可靠 其实我们看的最多的招聘打字员的,最关键的一个条件都是要交押金,说的是为了保证资料的安全。其实关于交押金的问题,小编认为只要是要交押金的可靠性都不高,如果你押金交了,后面你完成任务了,当你去找他结款的时候,发现你要找的人不见了,你不仅损失了自己交的押金,还白白浪费了自己的时间。 正规网站工作 ...
标签: 手机 电脑
1、iPhone用户请这样做 1.在「设置>通用>键盘>文本替换」中,先针对你经常需要用到的词语或句子,进行输入。举例来说,可在「短语」栏输入「马上到」,在输入码栏位中填入「msd」这三个注音符号。 2.完成后无论是在哪一个App中,例如信息、微信、QQ当中,只要输入「msd」,就会出现「马上到」的选项,为你节省宝贵...
标签: flash教程
编者: 虽然有人也许会说,这样的打字效果在Swish中可以很方便地实现……但是大家用Flash制作会有更多不同的体验,提醒大家注意:这里的初识文字是写在代码里面的,同时它还可以接受用户动态输入,完成交互显示。 我们常常看见下面演示的打字效果:字符一个个地跳上屏幕,后面还跟着一个闪动的光标,很有意思。很多朋友觉得用swish制作F...
标签: 电脑
怎样提高打字速度 选择适合自己的输入法 有点人喜欢打五笔,有的人喜欢打拼音,这两种输入法没有说哪种好哪种不好,自己偏好哪种就用哪种。 进行打字速度测试 可以在网上进行一些打字速度的测试,了解自己现在的实际水平,看看一分钟可以打到多少个字,跟一般人比差距在哪里。 给自己制定打字速度目标 ...

经验教程

262

收藏

21
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部