-
一个单机版的斗地主游戏,可以模拟网络游戏功能,在休息时不妨玩一下,不过不要沉溺哦!...
一个单机版的斗地主游戏,可以模拟网络游戏功能,在休息时不妨玩一下,不过不要沉溺哦!-a stand-alone version that point, the network can be simulated games, the rest may wish to play with, but not wallowing Oh!
- 2022-01-24 12:54:10下载
- 积分: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
-
java源码,,五子棋,共学生下载
java源码,,五子棋,共学生下载-java source code, and 331 were students download
- 2022-03-23 15:40:00下载
- 积分:1
-
用c写的五子棋算法
用c写的五子棋算法-used to write the algorithm 331
- 2022-09-10 00:55:02下载
- 积分:1
-
完全利用VB,不使用任何控件建立的一个扑克牌游戏
完全利用VB,不使用任何控件建立的一个扑克牌游戏-full use VB, not use any of the controls established a poker game
- 2023-08-17 07:15:03下载
- 积分:1
-
java跳棋游戏程序源码 java跳棋游戏程序源码 java跳棋游戏程序源码...
java跳棋游戏程序源码 java跳棋游戏程序源码 java跳棋游戏程序源码-java source code java games Checkers Checkers Checkers games java games source code java source Checkers Checkers games java games source code
- 2023-08-30 03:35:07下载
- 积分:1
-
这个是我写的一个带任意多张百搭的麻将的胡牌算法,支持普通麻将的所有胡法,当然跟具不同麻将的需要还需小做修改....
这个是我写的一个带任意多张百搭的麻将的胡牌算法,支持普通麻将的所有胡法,当然跟具不同麻将的需要还需小做修改.-this is the one I wrote arbitrary argue over the Mahjongg players algorithm, Mahjong general support of all Hu, of course, with different needs mahjong do need small changes.
- 2022-03-18 05:18:44下载
- 积分:1
-
java series of the network reversi. Together similar to the black and white of t...
java编的网络黑白棋。类似联众的黑白其游戏。非常好用-java series of the network reversi. Together similar to the black and white of their game. Very handy
- 2022-05-19 23:59:24下载
- 积分:1
-
VC编写的围棋游戏程序
VC编写的围棋游戏程序-Go prepared VC games
- 2022-10-12 17:35:03下载
- 积分:1
-
use the website to achieve playing Tetris game, if the game is embedded into web...
使用java applet实现网页上玩俄罗斯方块游戏,如果把游戏嵌入到网站中,必定生色不少!使用到的技术:java swing jApplet 4维数组运算等-use the website to achieve playing Tetris game, if the game is embedded into websites that will take a lot more lively! The use of the technology : java swing jApplet four-dimensional arrays, etc. Operational
- 2022-04-27 12:21:59下载
- 积分:1