登录
首页 » Chess Poker games » 用SDL写的中国象棋程序,人工智能算法来源于陈成涛先生的mantisChess。 昨天中午在cosoft上偶然发现了陈成涛先生的中国象棋程序,Down下来以后发...

用SDL写的中国象棋程序,人工智能算法来源于陈成涛先生的mantisChess。 昨天中午在cosoft上偶然发现了陈成涛先生的中国象棋程序,Down下来以后发...

于 2022-08-22 发布 文件大小:49.94 kB
0 91
下载积分: 2 下载次数: 1

代码说明:

用SDL写的中国象棋程序,人工智能算法来源于陈成涛先生的mantisChess。 昨天中午在cosoft上偶然发现了陈成涛先生的中国象棋程序,Down下来以后发现只有Windows版,打开源代码,发现是用Win32 SDK写的(呵呵,以前学这东西可花了我不少时间,现在终于派上用场了),于是我决定把它移植到Linux下来,花了一个下午和一个早上终于搞定了。 不过程序退出的时候会出现一个错误,现在还没找到问题所在,而且程序的界面也比较难看,大家先凑合着用吧!等我以后有时间了再改。昨天已经被我们项目组长批了一顿了,说我上班时间不务正业。-SDL used to write Chinese chess procedures, artificial intelligence algorithms from Mr. Chen Cheng-tao mantisChess. Cosoft noon yesterday on the accidental discovery of Mr. Chen Cheng-tao of Chinese chess procedures, Down down after only a Windows version, open source code and discovered that it is written with Win32 SDK (Oh, before this study things I can spend a lot of time, now is a chance to use), so I decided transplant Linux down and spent an afternoon and a morning finally to get. But procedures from the time that there would be a mistake, we have not found the problem, but the interface procedures are ugly, we first used to improvise! So I will have more time to change. Yesterday, we had been awarded the project h

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

发表评论

0 个回复

  • Cai Shendao flash chess game server, like the study of a friend can be downloade...
    财神到flash棋牌游戏服务端,喜欢研究的朋友可以下载!完全可编译-Cai Shendao flash chess game server, like the study of a friend can be downloaded! Fully compiled
    2022-08-14 13:18:46下载
    积分:1
  • 斗地主的实现,代码简单易读..通信全部是用的异步选择模型
    斗地主的实现,代码简单易读..通信全部是用的异步选择模型-斗地主the realization of the code easier to read .. communications are all used to choose the model of asynchronous
    2022-03-25 04:17:33下载
    积分:1
  • provide three
    提供三维方块和智能五子棋能游戏的原理和原程序可以快速修改配合系统速度提高难度级别-provide three-dimensional cubes and intelligent game can be 331 and the principle of the original procedure can be quickly modified with speed system the difficulty level
    2023-05-29 13:10:03下载
    积分:1
  • 四福克斯网络象棋旗源代码,与其他程序员交流为R ..
    网狐棋牌四国军旗源代码,与其他程序员交换来的资源,提供共享受,仅供学习-Four Fox network chess flag source code with other programmers in exchange for resources to provide a total of enjoyment, only to learn
    2022-10-11 09:45:08下载
    积分:1
  • C++语言五子棋源程序 (利用坐标确定棋子位
    C++语言五子棋源程序 (利用坐标确定棋子位-331 C language source code (using coordinates determined pawn spaces
    2023-04-16 22:20:03下载
    积分:1
  • VC6.0实现扑克牌控件,可直接根据点数显示扑克
    VC6.0实现扑克牌控件,可直接根据点数显示扑克-VC6.0 achieve control cards can be shown directly under the points poker
    2022-01-26 01:49:02下载
    积分:1
  • 用C++开发的中国麻将游戏(单机版),可以做为学习的范例。 ―――――――――――――――――――――――――――――― 游戏的基本运行 ―――――...
    用C++开发的中国麻将游戏(单机版),可以做为学习的范例。 ―――――――――――――――――――――――――――――― 游戏的基本运行 ――――――――――――――――――――――――――-―――― 运行前会先洒色子,根据色子与庄家给各玩家初始化手中的牌 1.初始化(根据庄家和色子数给每个人发12张牌) 2.牌墙发牌给庄家(m_nActive活动状态给庄家) 3.根据活动状态玩家是否是出牌状态(m_nState==1):如果是电脑,让其思考最差的一张牌并出牌,如果是人就让其自行选择(相应时间内没出牌就自动出刚抓的新牌(m_nNewPai)) 4.根据玩家出的牌判断各玩家的优先级,优先级最大的玩家操作并把活动状态给他,(如果是人就等待其是否操作,时间内没响应就自动弃权) 5.如果有玩家操作了就返回第3步,如果没有玩家操作就进行第6步 6.如果没有玩家对刚出的牌操作就牌墙发牌给下一玩家,再返回第3步。 7.如果有人胡牌就统计分数,如果牌墙剩余的牌不到10张就流局,分数不变,游戏也结束。-C development of the Chinese game mahjong (single version), the study could serve as an example.------------------------------ The basic operation of the game------------------------------- first before running onto Boson. According Boson dealer to the player"s hands initialize a license. Initialization (according to several bankers and Boson issued to each person 12 Licensing) 2. Wall licensing licensing Makers (m_nActive activities to the state Makers) 3. According to state player of activities whether the card is the
    2022-11-30 07:30:04下载
    积分:1
  • DELPHI版(五子棋)
    DELPHI版(五子棋)-DELPHI edition (331)
    2022-02-12 00:23:06下载
    积分:1
  • 国际象棋游戏让你和其他人玩
    chess game lets you play against other people
    2022-01-22 06:41:01下载
    积分:1
  • 一个用 Visual Basic 实现的五子棋游戏
    一个用 Visual Basic 实现的五子棋游戏-a FiveChess game with Visual Basic
    2022-03-04 09:54:33下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载