-
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
-
a good 331 procedures and intelligent! Very interesting! Vc used to achieve! Alg...
一个不错的五子棋程序,智能化的!很爽!用vc++来实现的!算法不错!-a good 331 procedures and intelligent! Very interesting! Vc used to achieve! Algorithm good!
- 2022-08-15 21:25:02下载
- 积分:1
-
Chess games, can realize both the war all users directly connect to a server, t...
象棋游戏,能够实现俩人对战;所有用户直接连接服务器,用户按照用户名与IP地址来区分。
服务器提供所有用户的列表与对战情况列表。-Chess games, can realize both the war all users directly connect to a server, the user in accordance with the user name and IP address to distinguish. Server to provide a list of all users with a list of the war situation.
- 2022-01-26 03:50:24下载
- 积分:1
-
一个用java写的国际象棋游戏
一个用java写的国际象棋游戏-with a written chess game
- 2022-06-15 11:17:02下载
- 积分:1
-
五子棋源码,c语言
五子棋源码,c语言-renju source, c language
- 2022-03-10 08:18:03下载
- 积分:1
-
网络五子棋,网络游戏室现在人们休闲娱乐的主要集中地
网络五子棋,网络游戏室现在人们休闲娱乐的主要集中地-Gobang network, network game room entertainment is now the main focus to
- 2022-01-30 13:53:56下载
- 积分:1
-
用C++编写的游戏:五子棋。可以双重战争也可以是人
用C++写的益智游戏:五子棋。可以双人对战,也可以人机大战!-With C++ Written puzzle game: backgammon. Can double the war can also be man-machine war!
- 2022-09-13 12:35:03下载
- 积分:1
-
reversi game code, within the rules of the game that is worth looking at, oh
黑白棋游戏代码,内有游戏规则说明,值得一看哦
-reversi game code, within the rules of the game that is worth looking at, oh
- 2022-04-28 22:01:28下载
- 积分:1
-
斗地主游戏,用java开发的 斗地主游戏,用java开发的
斗地主游戏,用java开发的 斗地主游戏,用java开发的-斗地主games, java development with斗地主games, java development with斗地主game development with java
- 2022-06-11 13:24:55下载
- 积分:1
-
This is a language used to write c of the game, everyone is familiar with the Ru...
这是一个用c语言写的游戏,是大家熟悉的俄罗斯方块.希望大家能够在平时多写点程序,这有利于成长
-This is a language used to write c of the game, everyone is familiar with the Russian box. We hope to write more points in peacetime procedures, which is conducive to growth
- 2022-01-26 04:51:22下载
- 积分:1