-
九江四人斗地主,棋牌游戏源代码,功能齐全,稳定,适合用于棋牌游戏开发...
九江四人斗地主,棋牌游戏源代码,功能齐全,稳定,适合用于棋牌游戏开发-Jiujiang four斗地主, chess game source code, full-featured, stable, and suitable for the development of board games
- 2022-03-13 23:27:13下载
- 积分:1
-
国际象棋在线游戏服务器端程序源代码
国际象棋在线游戏服务器端程序源代码-chess online game server source code
- 2023-05-04 16:05:03下载
- 积分:1
-
这是一款很不错的游戏! 希望手机游戏爱好者能喜欢 用在3100上...
这是一款很不错的游戏! 希望手机游戏爱好者能喜欢 用在3100上-This is a very good game! Mobile gaming enthusiasts hope can be like in 3100 on
- 2022-04-22 03:17:28下载
- 积分: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
-
五子棋
一个小游戏,开发平台为VS2005
五子棋
一个小游戏,开发平台为VS2005-Gobang a small game development platform for VS2005
- 2022-03-14 09:44:22下载
- 积分:1
-
三游戏和移动代码,我不知道是否运行,可以参考…
三国手机游戏及代码,不知能否运行,可以参照它的代码-three games and mobile code, I do not know whether running, it can refer to the code
- 2023-03-09 23:30:03下载
- 积分:1
-
在tc下简易的实现五子棋游戏源码,注意不能在vista下支持
在tc下简易的实现五子棋游戏源码,注意不能在vista下支持-Under the simple realization of the tc welcome to play source, pay attention not to support vista
- 2023-08-11 14:40:02下载
- 积分:1
-
Chess games, can realize both the war all users directly connect to a server, t...
象棋游戏,能够实现俩人对战;所有用户直接连接服务器,用户按照用户名与IP地址来区分。
服务器提供所有用户的列表与对战情况列表。-Chess games, can realize both the war all users directly connect to a server, the user in accordance with the user name and IP address to distinguish. Server to provide a list of all users with a list of the war situation.
- 2022-01-26 03:50:24下载
- 积分:1
-
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
-
一个有趣的黑白棋小游戏
一个有趣的黑白棋小游戏-an interesting little game reversi
- 2022-07-14 13:45:58下载
- 积分:1