-
在实际模拟时,可以取更多的生命细胞,也可以考虑生命细胞的初始状态是依一定概率设定的随机状态,变化时也可以让边缘细胞参与变化。只要对上述程序略作更改,就会得到另外...
在实际模拟时,可以取更多的生命细胞,也可以考虑生命细胞的初始状态是依一定概率设定的随机状态,变化时也可以让边缘细胞参与变化。只要对上述程序略作更改,就会得到另外一系列美妙绝伦的图案。-the actual simulation, may take more lives cells, we can also consider the lives of cells initial state is set on a certain amount of random probability state change may also allow changes in the marginal cells. As long as some of these procedures for a change, it will be another wonderful series of exquisite designs.
- 2023-08-13 19:10:03下载
- 积分:1
-
this is very good application for face traccking.it contains more and good diffe...
this very good application for face traccking.it contains more and good differnt features.if u rotate face right side it will show the direction for rignt side.if u rotate face left side it will show the direction for left side.-this is very good application for face traccking.it contains more and good differnt features.if u rotate face right side it will show the direction for rignt side.if u rotate face left side it will show the direction for left side.
- 2023-03-03 08:15:04下载
- 积分:1
-
收集的FTP传输程序,希望能给初学者带来一点帮助!
收集的FTP传输程序,希望能给初学者带来一点帮助!-Collection of FTP transfer process, could bring some help for beginners!
- 2022-03-24 11:34:10下载
- 积分:1
-
俄罗斯方块,经典游戏。
其中的主要逻辑有:
(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
-
通过输入阿拉伯 数字 ,自动转换数字为中文汉字大写数字,并按照原数字顺序给予排列!...
通过输入阿拉伯 数字 ,自动转换数字为中文汉字大写数字,并按照原数字顺序给予排列!-through the importation of Arabic numerals, automatic conversion for Chinese characters capital figures and according to the original figures given with the order!
- 2023-07-12 11:45:02下载
- 积分:1
-
Single round robin tournament players winning sequence to solve the problem name...
单循环赛中选手胜负序列求解问题
名称:单循环赛中选手胜负序列求解问题
内容:有n个选手 P 1 ,P 2 ,P 3 ,… ,P n 参加了的单循环赛,每对选手之间非胜即负。现要求求出一个选手序列 P 1 ,P 2 ,P 3 ,… ,P n , 使其满足 P i 胜 P i+ 1 (i=1,… ,n-1) 。
-Single round robin tournament players winning sequence to solve the problem name: the outcome of single round-robin tournament players to solve the problem sequence elements: There are n-player P 1, P 2, P 3, ..., P n participated in a single round-robin between each pair of players Non-win or negative. Players are now required to find a sequence of P 1 " , P 2" , P 3 " , ..., P n" , to meet the P i " W P i+ 1" (i = 1, ..., n-1).
- 2022-04-01 08:15:51下载
- 积分:1
-
这是关于二位地图控制视点的简单小实例,供新手学习时用,通过分析简单的实例的代码,来掌握二位地图控制视点的编写程序。...
这是关于二位地图控制视点的简单小实例,供新手学习时用,通过分析简单的实例的代码,来掌握二位地图控制视点的编写程序。-This is the map control on the two small examples of a simple point of view for the novice to learn when, through the analysis of simple examples of code, to master control of two maps of the programming point of view.
- 2022-03-17 00:38:09下载
- 积分:1
-
先序扩展序列建立二叉树
先序扩展序列建立二叉树-first sequence extended sequence established Binary Tree
- 2023-05-13 04:50:03下载
- 积分:1
-
themselves prepared a summary of the diary, the interface is not very pretty
自己编写的一个简易的日记本,界面不是很漂亮-themselves prepared a summary of the diary, the interface is not very pretty
- 2022-02-05 00:45:42下载
- 积分:1
-
这是几个游泳的测试程序,都是些基础的东西,有带学习
这是几个游泳的测试程序,都是些基础的东西,有带学习
-This is a swim test procedure are some basic things, the learning
- 2022-05-28 06:24:27下载
- 积分:1