-
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
-
network renju source FO
网络五子棋源码 源码 -network renju source FO
- 2022-08-20 09:13:46下载
- 积分:1
-
用TC编的五子棋程序,初学者可以参考一下
用TC编的五子棋程序,初学者可以参考一下-TC series of the 331 procedures, beginners can take a look
- 2022-01-26 03:06:30下载
- 积分:1
-
8皇后源程序These rules (as supplied by Ulli) will be implemented as soon as possible....
8皇后源程序These rules (as supplied by Ulli) will be implemented as soon as possible.Anyone who would like to help develop the code further is welcome to (please contact dioxic@madasafish.com if interested).A version of checkers with most (or all) of these rules should be ready in 1 or 2 weeks time!-8 Queen"s source These rules (as supplied by Ulli) will be implemented as soon as possible.Anyone who would like to help further develop the code is welcome to (please contact dioxic@madasafish.com if interested). A version of CHECKERS with most (or all) of these rules should be ready in one or two weeks time!
- 2022-10-02 15:30:03下载
- 积分:1
-
简单的井字棋游戏,不是内行,学习为主,向大师学习,
简单的井字棋游戏,不是内行,学习为主,向大师学习,-Simple Tic-Tac-chess game, not the experts, learning-based, to master learning, He He
- 2022-08-15 08:51:55下载
- 积分:1
-
我自己编写的纯C语言五子棋游戏,一台电脑上两人对战类型,命令行界面哟。...
我自己编写的纯C语言五子棋游戏,一台电脑上两人对战类型,命令行界面哟。-,,
- 2022-03-19 14:48:42下载
- 积分:1
-
This one using vc++ 6.0 for development of the welcome to play, the author is CI...
这个一个使用vc++ 6.0进行开发的五子棋游戏,作者是CIW_BLUE-This one using vc++ 6.0 for development of the welcome to play, the author is CIW_BLUE
- 2022-05-18 23:39:20下载
- 积分:1
-
在网络上两人象棋对战的游戏,只一个程序,无需依赖任何网络服务器。...
在网络上两人象棋对战的游戏,只一个程序,无需依赖任何网络服务器。-on the Internet two chess players of the game, only one procedure, without relying on any network server.
- 2022-11-21 15:35:12下载
- 积分:1
-
zhegeyehaowan
zhegeyehaowan
- 2023-05-03 22:25:03下载
- 积分:1
-
C++课程设计,五子棋。可人机对战。
C++课程设计,五子棋。可人机对战。-C curriculum designs, gobang. But man-machine to war.
- 2022-12-31 02:00:03下载
- 积分:1