-
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
-
可联机玩国际象棋,具备倒计时功能以及悔棋等功能
可联机玩国际象棋,具备倒计时功能以及悔棋等功能-Available on-line play chess, with the countdown function, and Undo functions
- 2022-08-05 14:33:32下载
- 积分:1
-
c# does Russian block procedure, very good, is worth studying
c#做的俄罗斯方块程序,很不错的,值得学习.-c# does Russian block procedure, very good, is worth studying
- 2022-03-14 02:11:07下载
- 积分:1
-
程序分两部分:1。核心程序 2。windows图形界面程序 此处只介绍核心程序部分。...
程序分两部分:1。核心程序 2。windows图形界面程序 此处只介绍核心程序部分。-procedure is divided into two parts : 1. Two core procedures. Windows graphical interface procedures introduced here only part of the core process.
- 2023-07-25 12:15:03下载
- 积分:1
-
世界
顶级国际象棋引擎stockfish源代码 v1.5-world-class chess engine source code (stockfish v1.5)
- 2022-05-19 19:21:34下载
- 积分:1
-
是俄罗斯方块游戏的源代码。大家可以用运行看看。
是俄罗斯方块游戏的源代码。大家可以用运行看看。-Tetris game is the source code. Members can make use of running to see.
- 2022-03-19 18:48:53下载
- 积分:1
-
很有趣的中国象棋游戏的源代码,与大家分享
很有趣的中国象棋游戏的源代码,与大家分享-very interesting chess game"s source code to share with you
- 2022-02-26 01:35:09下载
- 积分: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
-
一个远程下中国象棋的程序。非常漂亮,可以联机使用。喜欢的朋友可以下载看看。...
一个远程下中国象棋的程序。非常漂亮,可以联机使用。喜欢的朋友可以下载看看。-Chinese chess under a long-range process. Very beautiful, you can use online. Like to see a friend can be downloaded.
- 2022-06-13 10:15:09下载
- 积分:1
-
一个C++写的俄罗斯方块的源程序,代码结构良好,玩游戏的同时能听见音乐,并且画面不闪烁。...
一个C++写的俄罗斯方块的源程序,代码结构良好,玩游戏的同时能听见音乐,并且画面不闪烁。 -C wrote a Rubik"s cube of the source, code structurally sound, play games at the same time able to hear music, and images not blinked.
- 2022-07-17 13:01:17下载
- 积分:1