-
a fun game type of license the source code for students small game in the design...
一个好玩的牌类游戏源代码
对学生小游戏的设计和实现非常有帮助-a fun game type of license the source code for students small game in the design and realization of very helpful
- 2022-03-19 08:44:12下载
- 积分:1
-
格子棋游戏的C语言源程序,适合初学者学习使用
格子棋游戏的C语言源程序,适合初学者学习使用-Lattice chess game of C language source code, suitable for beginners learning to use
- 2022-11-20 22:20:03下载
- 积分:1
-
js仿游戏的物品栏目,原始脚本编写,没有任何框架,里面还附加一套五指棋js代码...
js仿游戏的物品栏目,原始脚本编写,没有任何框架,里面还附加一套五指棋js代码-js column items like games, the preparation of the original script, there is no framework, which is also an additional set of five fingers move js code
- 2023-07-08 17:15:04下载
- 积分:1
-
俄罗斯方块源文件,不错的,是用JAVA编写的,很有参考价值
俄罗斯方块源文件,不错的,是用JAVA编写的,很有参考价值-Tetris source document, it is true, is prepared by using JAVA, great reference value
- 2022-03-13 02:12:40下载
- 积分:1
-
一个用java编写的小程序,尝试运用
一个围棋的小程序,用JAVA写的,试过,可以用-a small program written using Java, tried to be used
- 2022-02-10 17:43:41下载
- 积分:1
-
无聊,自己编的拱猪发牌程序的源代码
无聊,自己编的拱猪发牌程序的源代码-frivolous, Gongzhu own addendum to the licensing procedures for the source code.
- 2022-09-15 18:25:03下载
- 积分:1
-
采用VC++.net编写的一个国际象棋模拟程序,包含二维碰撞检测和区域无效等方法...
采用VC++.net编写的一个国际象棋模拟程序,包含二维碰撞检测和区域无效等方法-using VC. Net prepared by an international chess simulation program, include 2D collision detection and regional ineffective methods
- 2022-04-08 18:34:53下载
- 积分:1
-
象棋对弈,vc++6工程,里面有说明文档,方便使用,可以方便复用...
象棋对弈,vc++6工程,里面有说明文档,方便使用,可以方便复用-Chess game, vc++ 6 project, which has documentation, user-friendly, can easily reuse
- 2022-08-17 02:06:29下载
- 积分:1
-
miyouxi vb ni neng nke yi
miyouxi vb ni neng nke yi
- 2022-02-15 11:54:47下载
- 积分: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