-
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
-
语言编写的一个331游戏的源代码
用C语言编写的一个五子棋游戏源代码-C language prepared by a 331 game source code
- 2023-08-09 14:10:04下载
- 积分: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
-
海阁网络游戏主要提供类似联众的棋牌游戏服务器和相应的客户端程序。服务器端程序包括游戏服务程序、服务器端管理程序和服务器端Access数据库文件。客户端程序包括大...
海阁网络游戏主要提供类似联众的棋牌游戏服务器和相应的客户端程序。服务器端程序包括游戏服务程序、服务器端管理程序和服务器端Access数据库文件。客户端程序包括大厅程序、中国象棋程序、围棋程序和四国大战程序。使用本软件,你可以个人网站、个人主机和局域网内建立网络棋牌游戏服务器,给你的客户或公司员工提供娱乐。该版本为免费演示版本,服务器端只支持同时50人在线,棋牌游戏也只包括中国象棋、围棋和四国大战。 游戏平台整套源代码出售,请和作者联系 -Ko hai main provider of online games like board games OurGame of servers and corresponding client program. Server-side procedures, including gaming service procedures, server-side management procedures and server-side Access database file. Client program, including the hall procedures, procedures for Chinese chess, Go四国大战processes and procedures. The use of this software, you can personal websites, personal mainframe and LAN networking Card Games servers, to your customers or company employees to provide entertainment. This version for free demo version, server-side support at the same time only 50 people online, board games, including only Chinese chess, Go and四国大战. Game platform to sell the entire source code, please contact the author
- 2022-12-22 18:35:05下载
- 积分:1
-
纸牌类游戏斗地主在别处找的,拿来给大家分享一下
纸牌类游戏斗地主在别处找的,拿来给大家分享一下-Card games Doudi Zhu looking elsewhere, were given to share with you
- 2022-03-24 04:51:00下载
- 积分:1
-
一个五子棋的原来代码
一个五子棋的原来代码-one of the original code 331
- 2022-01-26 00:25:43下载
- 积分:1
-
主要是 Java大富翁戏源代码,可执行效果
主要是 Java大富翁戏源代码,可执行效果-Java Monopoly show source code, executable results
- 2022-07-02 00:40:36下载
- 积分:1
-
国际象棋游戏,用单片机8051进行控制,可以进行游戏娱乐,里面包含有源程序,以及用protues的仿真结果。...
国际象棋游戏,用单片机8051进行控制,可以进行游戏娱乐,里面包含有源程序,以及用protues的仿真结果。-Chess game, using 8051 microcontroller to control, you can play games entertainment, which contains the source code, as well as with protues the simulation results.
- 2022-03-30 22:26:40下载
- 积分:1
-
java写的围棋游戏的小程序,谁先被吃子谁输
java写的围棋游戏的小程序,谁先被吃子谁输--Chinese gobang game program writed by Java, and a player will be lost the game when he is eaten first
- 2022-06-21 14:44:19下载
- 积分:1
-
本程序是一个简单的MFC工程,实现的是五子棋游戏
本程序是一个简单的MFC工程,实现的是五子棋游戏-This procedure is a simple MFC project implementation is welcome to play
- 2022-04-20 20:48:30下载
- 积分:1