-
俄罗斯方块,经典游戏。
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分...
俄罗斯方块,经典游戏。
其中的主要逻辑有:
(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路径。-Tetris, classic games.
- 2022-02-20 12:56:31下载
- 积分:1
-
BP
说明: BP神经网络实现手写数字识别,以包含字库,字库内容有改动,方便测试识别结果(BP Neural Network realizes handwritten numeral recognition to include a font, the content of the font is changed, and it is convenient to test the recognition results.)
- 2020-06-21 17:00:01下载
- 积分:1
-
ARIMA
可以很好的预测数据,程序代码简单可靠好用(Good prediction of data, the program code is simple and reliable easy to use.)
- 2017-11-19 10:46:26下载
- 积分:1
-
欢迎使用“培正商学院学生会网站调查系统”,英文名称“PeiZheng Vote”,该调查系统是由
“广州培正商学院学生会资讯部 晨曦”独立开发制作,享有版权...
欢迎使用“培正商学院学生会网站调查系统”,英文名称“PeiZheng Vote”,该调查系统是由
“广州培正商学院学生会资讯部 晨曦”独立开发制作,享有版权,受中华人民共和国法律保护。
该软件为共享软件。-welcomed the use of "Pui Ching School of Business students site survey system," English name "PeiZheng Vote," the survey system is the "Guangzhou Pui Ching School of Business students Information Division Dawn" independent development of production, enjoy copyright protection of the law by the People"s Republic of China. The software for sharing software.
- 2022-03-19 23:38:48下载
- 积分:1
-
Phi-alpha
This is a udf file of phi_alpha turbulence model of university of manchester for running if Ansys FLUENT.
This model is based on v2f turbulence model.
- 2014-09-04 11:02:36下载
- 积分:1
-
matlab-principal-component-0003
matlab code-principal-component-analize2
- 2018-01-13 02:33:40下载
- 积分:1
-
dbly2x
说明: it is a fault analysis on double circuit line using pscad software
- 2020-05-19 01:49:54下载
- 积分:1
-
fengsu
说明: 建立了完整的风力发电仿真模型,具体包括风速的建模,发电机的建模,以及根据风力发电的数学模型,建立的完整的仿真模型,能够仿真出符合风力发电特性的仿真曲线(A complete simulation model of wind power generation is established, including wind speed modeling, generator modeling, and a complete simulation model based on the mathematical model of wind power generation, which can simulate the simulation curve in line with the characteristics of wind power generation)
- 2020-06-20 16:04:17下载
- 积分:1
-
RSSI定位matlab仿真
说明: 可将光 定位 仿真 基于RSSI matlab(Light positioning simulation Based on RSSI matlab)
- 2020-12-28 20:29:01下载
- 积分:1
-
大屏幕显示, 大屏幕显示, 大屏幕显示
大屏幕显示, 大屏幕显示, 大屏幕显示-display
- 2023-08-31 18:25:03下载
- 积分:1