-
ch451显示和四位共阴极数码管1234
ch451显示和四位共阴极数码管1234-ch451 four common cathode display and digital tube 1234
- 2023-01-21 10:15:04下载
- 积分:1
-
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度越快(每200分为单位)。
(3)每下落一个方块加1分,每消除一行加10分,两行加30分,三行加70分,四行加150分。初试分数为100分。
游戏控制:
up-旋转;空格-下落到底; 左右下方向键-控制方向。P-开始或暂停游戏。 ESC-退出。
特点:
(1)由于tc不支持中文,所以基本都是英文注释。
(2)函数命名尽可能规范的表达其内部处理目的和过程。
(3)代码加上注释仅有577行。(我下载过的两个俄罗斯方块代码一个在1087行,一个在993行,我的比它们代码少)。
(4)除了消除空格时算法比较复杂,其他算法都比较简单易读。
(5)绘图效率和局部代码效率扔有待提高。
(6)FrameTime参数可能依据不同硬件环境进行具体设置,InitGame需要正确的TC路径。
-err
- 2023-05-30 22:10:03下载
- 积分:1
-
红外遥控器解码程序,包括51汇编、PIC汇编、C语言等
红外遥控器解码程序,包括51汇编、PIC汇编、C语言等-Infrared remote control decoding procedures, including 51 of the compilation, PIC compilation, C language, etc.
- 2022-02-04 00:58:57下载
- 积分:1
-
AVRStudio4使用说明,操作简单,使用方便,很容易就学会
AVRStudio4使用说明,操作简单,使用方便,很容易就学会-AVRStudio4 instructions, simple operation, easy to use, it is easy to learn
- 2022-02-06 02:35:37下载
- 积分:1
-
汇编语言程序,包括画图程序,音乐程序,打字游戏程序,文件处理程序...
汇编语言程序,包括画图程序,音乐程序,打字游戏程序,文件处理程序-Assembly language program, including the Paint program, music program, typing game procedures, documentation procedures
- 2022-01-25 18:05:48下载
- 积分:1
-
24C02 read and write procedures. Extracting called directly. A descriptive notes...
24C02 的读写程序。解压 直接调用。 有说明注释 的 。-24C02 read and write procedures. Extracting called directly. A descriptive notes.
- 2022-04-17 18:25:03下载
- 积分:1
-
在网上找了好长时间DS12887的汇编程序,发现这方面的资料太少,所以现在将这个DS12887时钟芯片的汇编程序发出来,以供大家参考。...
在网上找了好长时间DS12887的汇编程序,发现这方面的资料太少,所以现在将这个DS12887时钟芯片的汇编程序发出来,以供大家参考。-DS12887
- 2022-11-28 18:20:08下载
- 积分:1
-
液晶YM12864与AT89S51并行通信,可以显示四行中文字符
液晶YM12864与AT89S51并行通信,可以显示四行中文字符-AT89S51 LCD YM12864 with parallel communication, can display four lines of Chinese characters
- 2022-08-20 21:30:42下载
- 积分:1
-
This zip file contains six documents which describes some interesting applicatio...
This zip file contains six documents which describes some interesting applications which use of the Microchip PIC 16F84.
These application are PID Motor Control, DTMF Alarm Dialer, Lamp Dimmer, IR Command Decoder, LCD Adding and Hummidity Sensing.
- 2022-10-07 13:05:03下载
- 积分:1
-
内部有说明,多为嵌入式系统程序,侧重于实用的系统,很有参考价值...
内部有说明,多为嵌入式系统程序,侧重于实用的系统,很有参考价值-internal notes, and many of the embedded system, with a focus on practical, useful reference value
- 2023-04-07 05:25:03下载
- 积分:1