-
中国象棋完整源代码
中国象棋完整源代码-Chinese chess complete source code
- 2022-03-01 04:49:39下载
- 积分: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
-
VC斗地主的一个很好的来源,我们可以从一个很宽的参考学习
一个很好的vc斗地主源码很全的大家可以借鉴参考一下-Vc Doudi Zhu a good source of that we can learn from a very wide reference
- 2022-06-02 10:50:23下载
- 积分:1
-
vfsome installation files are corrupt a fresh copy and retry the installtion
vfsome installation files are corrupt a fresh copy and retry the installtion
- 2022-06-03 11:40:38下载
- 积分: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
-
网络五子棋源代码,小日本编的,所以显示的文字可能很怪。不过,稍有智商的朋友基本不影响使用。...
网络五子棋源代码,小日本编的,所以显示的文字可能很怪。不过,稍有智商的朋友基本不影响使用。-Gobang network source code, a small Japanese series, so the text may be very strange show. However, some friends of IQ does not affect the basic use.
- 2022-12-25 12:15:03下载
- 积分:1
-
自己用VC++程序编写的俄罗斯方块游戏,虽然功能不是很完全,但基本的功能都实现了,有一定的参考价值!...
自己用VC++程序编写的俄罗斯方块游戏,虽然功能不是很完全,但基本的功能都实现了,有一定的参考价值!-Their use VC++ Procedures prepared Tetris game, although the feature is not very complete, but the basic features are realized, there are some reference value!
- 2023-01-24 05:30:03下载
- 积分:1
-
用vc++编的一个下棋小游戏!
用vc++编的一个下棋小游戏!-vc series with a small chess game!
- 2022-03-21 02:05:43下载
- 积分:1
-
这是一个关于围棋的课程设计
这是一个关于围棋的课程设计-Go on the curriculum design
- 2022-10-19 20:45:04下载
- 积分:1
-
自己初学windows程序设计时写的一个人机对战的棋类游戏,电脑算法很强的,一直会占据获胜状态,很难下赢的,很有意思的,值得一玩!...
自己初学windows程序设计时写的一个人机对战的棋类游戏,电脑算法很强的,一直会占据获胜状态,很难下赢的,很有意思的,值得一玩!-their windows novice design procedures written by a man-machine war of the chess game. computer algorithm very strong and has won the state will occupy, it is hard to win, a very interesting and worthy of a play!
- 2022-03-25 16:48:56下载
- 积分:1