-
err
(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
- 2022-03-21 17:39:50下载
- 积分:1
-
中国象棋
中国象棋-- Chinese chess
- 2022-05-18 18:10:30下载
- 积分:1
-
use the website to achieve playing Tetris game, if the game is embedded into web...
使用java applet实现网页上玩俄罗斯方块游戏,如果把游戏嵌入到网站中,必定生色不少!使用到的技术:java swing jApplet 4维数组运算等-use the website to achieve playing Tetris game, if the game is embedded into websites that will take a lot more lively! The use of the technology : java swing jApplet four-dimensional arrays, etc. Operational
- 2022-04-27 12:21:59下载
- 积分:1
-
黑白棋游戏编制过程与思路
黑白棋游戏编制过程与思路-process and ideas
- 2023-02-25 19:25:03下载
- 积分:1
-
一个简单的扑克游戏,空格选牌,回车出牌,方向键控制光标,q 不出
水平有限,电脑方比较弱智...
一个简单的扑克游戏,空格选牌,回车出牌,方向键控制光标,q 不出
水平有限,电脑方比较弱智-A simple poker game, spaces election card, enter the license keys to control the direction of the cursor, q not limited, the computer compared to the mentally handicapped
- 2022-07-11 12:04:09下载
- 积分:1
-
我自己写的一个网上中国象棋程序. 支持"支招","托管" 智能还可以 VB的界面 VC的智能算法 带一个协调服务器(VC) 进一步改进中...
我自己写的一个网上中国象棋程序. 支持"支招","托管" 智能还可以 VB的界面 VC的智能算法 带一个协调服务器(VC) 进一步改进中-I wrote an online Chinese chess procedures. Support the "Tips" and "trust" can be intelligent interface VB VC intelligent algorithm with a coordination server (VC) further improvement
- 2022-07-18 00:18:31下载
- 积分:1
-
本程序在VC下编译通过,五子棋双人对战程序,程序短小精悍
本程序在VC下编译通过,五子棋双人对战程序,程序短小精悍-procedures in the VC compiler, 331 Double players procedure is short and pithy! !
- 2023-05-24 03:45:03下载
- 积分:1
-
support network of war renju procedures can single game! SECTION very pretty!
支持网络对战的五子棋程序,也可以单人游戏!截面很漂亮!-support network of war renju procedures can single game! SECTION very pretty!
- 2022-05-22 12:27:18下载
- 积分:1
-
用vc6写的五子棋软件。可以实现人
用VC6写的五子棋软件。可以实现人机下棋-Gobang using software written in VC6. Can realize man-machine chess
- 2022-04-14 12:00:32下载
- 积分:1
-
井字棋游戏,有意想不到的精彩,快去看看吧
井字棋游戏,有意想不到的精彩,快去看看吧
-Game tic-tac-toe game, there are unexpected wonderful, go see it
- 2022-03-22 20:44:18下载
- 积分:1