-
mines dug game source code, clear thinking, has already debugging, direct operat...
该程序是挖地雷游戏的源码,思想明确,已经经过调试,可以直接运行,visual c++的算法-mines dug game source code, clear thinking, has already debugging, direct operation, visual c algorithm
- 2022-03-01 09:55:16下载
- 积分: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源码-intelligent and Delphi source code 331
- 2023-03-04 13:10:03下载
- 积分:1
-
给了小游戏的朋友。
送给研究小游戏的朋友们-given to the small games of friends.
- 2022-03-12 21:47:56下载
- 积分:1
-
javaApplet 331 games
javaApplet五子棋游戏-javaApplet 331 games
- 2022-03-05 23:16:57下载
- 积分:1
-
用人工智能方法编写的五子棋程序,使用了贪心算法等,运行速度很快,人工智能比较强大...
用人工智能方法编写的五子棋程序,使用了贪心算法等,运行速度很快,人工智能比较强大-using artificial intelligence methods to prepare the 331 procedures, the use of the greedy algorithm, running very fast, more powerful artificial intelligence
- 2022-03-06 01:21:31下载
- 积分:1
-
This is a 331 game's source code, interface beautifully with the background...
这是一个五子棋游戏的源代码,界面精美,带背景音乐,其中的许多算法,如搜索算法,也都值得研究! 这是一个五子棋游戏的源代码,界面精美,带背景音乐,其中的许多算法,如搜索算法,也都值得研究!-This is a 331 game"s source code, interface beautifully with the background music, which in many algorithms, such as search algorithm, is worthy of study. This is a 331 game"s source code, interface beautifully with the background music, which in many algorithms, such as search algorithm, is worthy of study.
- 2022-04-11 09:54:56下载
- 积分:1
-
331 FO
五子棋源码-331 FO
- 2022-03-30 10:58:02下载
- 积分:1
-
C++ 斗地主棋牌游戏 包含服务和客户端
C++ 斗地主棋牌游戏 包含服务和客户端-C++斗地主board games include service and client
- 2022-01-26 00:30:36下载
- 积分:1
-
用VB编写的黑白棋源代码程序
用VB编写的黑白棋源代码程序-prepared by the VB source code procedures reversi
- 2022-06-30 10:54:00下载
- 积分:1