-
中国象棋人机对弈,采用vc开发,很不错!
中国象棋人机对弈,采用vc开发,很不错!-Chinese man-machine chess game, using vc development, very good!
- 2023-03-08 02:15:03下载
- 积分:1
-
网络上连连看的源代码,用vc6.0编译成功,界面比较漂亮。
网络上连连看的源代码,用vc6.0编译成功,界面比较漂亮。-Lianliankan network source code, compiled with vc6.0 successful, the more beautiful interface.
- 2022-03-16 23:02:54下载
- 积分:1
-
用TC编的五子棋程序,初学者可以参考一下
用TC编的五子棋程序,初学者可以参考一下-TC series of the 331 procedures, beginners can take a look
- 2022-01-26 03:06:30下载
- 积分:1
-
一个由vc6编译的五子棋源码程,其中估值函数比较巧妙,值得学习
一个由vc6编译的五子棋源码程,其中估值函数比较巧妙,值得学习-Vc6 compile a source of Gobang-way, which cleverly compared the valuation function, it is worth learning
- 2022-01-30 21:39:39下载
- 积分: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
-
一个简单的五子棋源程序,VC环境下用C语言编写,方便初学者…
一个简单的五子棋源程序,在vc环境下用c语言编写的,方便初学者学习。-a simple renju source, vc environment using the c language, convenient beginners to learn.
- 2022-08-15 04:22:19下载
- 积分:1
-
用tc2.0编的一个超千行的程序,仿Windows界面,全鼠标操作,集成五子棋和黑白棋两种棋类,黑白棋有双人、人机两种模式,绝对值得一看!...
用tc2.0编的一个超千行的程序,仿Windows界面,全鼠标操作,集成五子棋和黑白棋两种棋类,黑白棋有双人、人机两种模式,绝对值得一看!-tc2.0 series with a 1000-line procedures, fake Windows interface, full mouse operation, integration and reversi two 331 chess, reversi a double, two models of plane, shot entirely!
- 2022-07-25 10:31:57下载
- 积分:1
-
本程序是在已有的《黑白棋》基础上实现的网络版,通过Winsocket实现了进程的同步,源程序有比较详细的注释,适合于大家参考...
本程序是在已有的《黑白棋》基础上实现的网络版,通过Winsocket实现了进程的同步,源程序有比较详细的注释,适合于大家参考-this procedure is already in the "reversi" on the basis of the Internet version of Winsocket achieved through the process of synchronization, a more detailed source of the Notes suitable for your reference
- 2022-02-20 14:08:06下载
- 积分:1
-
连连看的简单入侵程序源代码,是通过FindWindow函数来找到句柄,窗体指针,然后判断像素点位置信息,然后发消息,属于低级的入侵程序...
连连看的简单入侵程序源代码,是通过FindWindow函数来找到句柄,窗体指针,然后判断像素点位置信息,然后发消息,属于低级的入侵程序-Invasion Lianliankan simple source code, through the FindWindow function to find the handle to form pointer, and then determine the pixel location information, and then发消息belonging to the invasion of low-level procedures. . .
- 2022-03-16 04:18:02下载
- 积分:1
-
五子棋游戏的人机对战的源代码
五子棋游戏的人机对战的源代码-331 man-machine players of the game"s source code
- 2022-06-27 04:30:31下载
- 积分:1