-
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
-
java编写的网络围棋程序,java编写的程序通过网络去…
java编写的网络围棋程序,java编写的网络围棋程序-java prepared by the network Go procedures, java prepared by the network Go procedures
- 2022-07-04 18:53:38下载
- 积分:1
-
美女麻将
美女麻将-Beauty Mahjong
- 2022-01-25 20:58:17下载
- 积分:1
-
PaintChat,日本的Java画图聊天程序,边画图边聊天。
PaintChat,日本的Java画图聊天程序,边画图边聊天。 -PaintChat , 日 linked cavity credit standard Java Chat , most序credit standard late night chat 。
- 2022-01-20 23:09:46下载
- 积分:1
-
Card game client source code, including the games hall, the basis of the Treasur...
棋牌类游戏客户端源代码,包括游戏大厅,基础库,八个游戏的全部代码.
游戏社区目前发布的游戏 :
升级(拖拉机 1-4付牌)
麻将
斗地主(1-2付牌)
中国象棋
多米诺骨牌(双6 双9)
军棋(2-4国)
牛牛
炒地皮
-Card game client source code, including the games hall, the basis of the Treasury, eight games all the code. Gaming community currently released games: upgrade (to pay licensing tractors 1-4)斗地主mahjong (1-2 pay licensing) China Chess domino (dual-six pairs of 9)军棋(2-4 countries) Niuniu land speculation
- 2022-02-09 22:48:23下载
- 积分:1
-
自己学习C#时写的一个扑克牌类。该类可以直接被引用如其他工程。可用于编写扑克牌相关的程序。...
自己学习C#时写的一个扑克牌类。该类可以直接被引用如其他工程。可用于编写扑克牌相关的程序。-C#, when you learn to write a poker category. Such can be directly quoted, such as other projects. Cards can be used for the preparation of the relevant procedures.
- 2023-07-21 02:00:04下载
- 积分:1
-
Java version of the main game is to achieve special effects and the source code
主要是Java 版的游戏特效实现和源代码-Java version of the main game is to achieve special effects and the source code
- 2022-02-01 14:46:06下载
- 积分:1
-
JAVA斗地主开发理念,出牌算法,牌型大小等逻辑关系
JAVA斗地主开发理念,出牌算法,牌型大小等逻辑关系-JAVA Doudi Zhu development philosophy, a card algorithm, card-type size of the logical relationship between
- 2022-05-06 16:10:22下载
- 积分:1
-
wanghu
网狐完美点卡系统.网狐完美点卡系统-wanghu
- 2022-01-31 04:41:21下载
- 积分:1
-
I wrote a version of the 57 customs small game program, the first time I hope th...
本人用C写的一个57关版本的小游戏原程序,本人处女作,希望大家支持,不错的!-I wrote a version of the 57 customs small game program, the first time I hope that we support, it is true!
- 2023-08-08 04:00:03下载
- 积分:1