登录

err

于 2022-03-21 发布 文件大小:4.51 kB
0 245
下载积分: 2 下载次数: 1

代码说明:

(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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 国外优秀游戏源码系列之三,接着上传第三部,chess,经典吧!牛人所作,值得一看...
    国外优秀游戏源码系列之三,接着上传第三部,chess,经典吧!牛人所作,值得一看-outstanding foreign source Series game three, and then upload Part III, chess, classical! Cattle were made, and an eye-catcher!
    2022-04-13 05:00:57下载
    积分:1
  • 是个五子棋游戏,很好玩的哦 有低级和高级之分
    是个五子棋游戏,很好玩的哦 有低级和高级之分-Gobang game is very fun, oh there are low-level and senior division
    2023-04-19 21:55:04下载
    积分:1
  • reversi engine code is fascinating
    黑白棋引擎代码,很精彩-reversi engine code is fascinating
    2023-02-22 11:30:04下载
    积分:1
  • 一个java做的国际象棋小游戏.是一个功能完善的chess小游戏,快来看看吧...
    一个java做的国际象棋小游戏.是一个功能完善的chess小游戏,快来看看吧-do a java small international chess game. One function is the perfect small chess games, Come see exciting! !
    2022-03-21 04:36:55下载
    积分:1
  • very good, there is a small place
    非常好, 有一个小地方要加上判段, 就是 "双3" , 两排交错的双 3, 就应该可以结束了. 或一排已经有 4颗而两头又是空的,这时也可宣告胜方,而不是要下满5颗棋才宣告那方胜. 这个代码可当窗体画线画圆很好的示例代码,特加精品.-very good, there is a small place- to add, is the "double 3", two rows of staggered two-three, it should be ended. or have a row of four and two are empty, then can be declared the winner. and not under-five game before declaring it Sheng Fang. This code can be when Circle Line Form painting good example code, grossing- up products.
    2022-03-07 19:04:54下载
    积分:1
  • 黑白棋(小.exe)这是一个黑白棋的游戏。中级初中…
    黑白棋(BWChess.exe) 这是一个黑白棋的小游戏。里面有初级中级高级三个级别的棋力选择。算法采用了自己编写的全盘搜索的经验积分算法,速度很快,棋力不是非常强。本游戏还可以自动演示,自动重温棋局,保存棋局,还有英雄榜。-Reversi (BWChess.exe) This is a game of Reversi. Intermediate Junior High There are three levels of棋力choice. Algorithm uses its own search for the preparation of the overall experience of integral algorithm, fast,棋力not very strong. This game can also automatically demonstration, automatic review game, save game, there are heroes list.
    2022-11-13 13:20:03下载
    积分:1
  • 搜索(特别是电脑游戏)专。介绍了PN
    有关搜索方面(尤其是计算机博弈)的专著。介绍了pn-search,db-search,以及他们在五子棋(gomoku)和其他一些方面的应用。最后还总结了目前(1994年)人工智能在棋类游戏中发展状况。-the search (especially computer game) monographs. Introduced pn-search, db- search, and their 331 (Gomoku) and other aspects of the application. Finally, a summary of current (1994) Artificial Intelligence in chess game situation.
    2022-03-17 22:39:58下载
    积分:1
  • Checkers This is a procedure, do not have the network function, but which is sti...
    这是一个跳棋程序,不具备网络功能,不过哪一个还不错
    2022-07-02 18:58:35下载
    积分:1
  • VC网络编程实例
    VC网络编程实例-网络游戏五子棋-network programming examples VC- 331 online games
    2022-03-03 02:44:49下载
    积分:1
  • 作者:王飞 (2001.05.11投搞)。联系信箱:wangfei@engineer.com.cn 这是一个黑白棋的游戏程序的源代码。...
    作者:王飞 (2001.05.11投搞)。联系信箱:wangfei@engineer.com.cn 这是一个黑白棋的游戏程序的源代码。 -Author : Wang Fei (2001.05.11 Optometry). Contact mail : wangfei@engineer.com.cn This is a reversi game"s source code.
    2022-01-25 16:00:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载