-
An international chess procedures realize man
一个国际象棋的程序,实现人机对战,普通的二维的游戏-An international chess procedures realize man-machine war, ordinary two-dimensional game
- 2022-12-02 18:35:03下载
- 积分:1
-
This is a network version of the card games. Both confrontation with the compute...
这是一个网络版的纸牌游戏.既可以与电脑对抗也可以让多个玩家在局域网或互联网上进行对抗.
-This is a network version of the card games. Both confrontation with the computer can also allow a number of players in LAN or the Internet Internet confrontation.
- 2022-06-30 03:41:35下载
- 积分:1
-
source Case Study
黑白棋游戏实例研究源程序-source Case Study
- 2022-07-12 16:06:41下载
- 积分:1
-
四子棋的小游戏,实现了几个人工智能,最高级的算法还是有点难度的,本人自己都很难下赢...
四子棋的小游戏,实现了几个人工智能,最高级的算法还是有点难度的,本人自己都很难下赢-four small-game of chess, achieving several artificial intelligence, the most senior algorithm is a little harder, I own are very hard to win
- 2022-02-03 23:48:58下载
- 积分:1
-
用俄语编写的代码,代码只有500多行,很容易
用 tc 编写的俄罗斯方块, 代码量只有500 多行,简单易懂。-Tc prepared by the Russian box, the code is only more than 500 lines, easy-to-read.
- 2023-03-18 06:10:03下载
- 积分:1
-
一个for DOS的五子棋游戏,这个挺简单的,c++实现的
一个for DOS的五子棋游戏,这个挺简单的,c++实现的-one for DOS 331 games, the very simple, c++ to the
- 2022-07-20 12:11:12下载
- 积分:1
-
This is a c# Realize the Gobang, chess is very beautiful, and in its dehlp rich...
这是用c#实现的五子棋,棋子很漂亮,内并富有其dehlp源码链接,这对有dehpl知识的朋友也有一些指导作用-This is a c# Realize the Gobang, chess is very beautiful, and in its dehlp rich source of links, which have knowledge dehpl Friend also has some role in guiding
- 2022-03-04 21:19:48下载
- 积分:1
-
一个有趣的五子棋的源码,vc++编的,挺难,不容易下过NPC
一个有趣的五子棋的源码,vc++编的,挺难,不容易下过NPC-Gobang an interesting source, vc++ Series, hard, not easy to cross under the NPC
- 2022-11-05 18:30:03下载
- 积分: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写的网络围棋程序- Network Chinese chess procedure writes which with Delphi
- 2023-05-05 18:00:03下载
- 积分:1