-
本项目的源代码是:利用MFC实现的中国象棋的源代码。
本项目的源代码是:利用MFC实现的中国象棋的源代码。-Li hung-second session cavity Daitou Tungsten measurements using MFC Hitomi Did To: wife of mother
- 2022-04-16 15:35:23下载
- 积分:1
-
code is worth studying, you can help
代码很值得研究,对你一定有帮助-code is worth studying, you can help
- 2022-01-29 00:26:59下载
- 积分:1
-
Chinese Chess, VC development, to try it to see whether you can beat the compute...
中国象棋,VC开发,来试一试吧,看你能不能打败电脑-Chinese Chess, VC development, to try it to see whether you can beat the computer
- 2023-05-11 19:45:04下载
- 积分:1
-
网络五子棋,网络游戏室现在人们休闲娱乐的主要集中地
网络五子棋,网络游戏室现在人们休闲娱乐的主要集中地-Gobang network, network game room entertainment is now the main focus to
- 2022-01-30 13:53:56下载
- 积分:1
-
很好网的游戏,不信实施
很好网的游戏,不信实施-good net game and did not believe the implementation of
- 2022-08-10 17:59:23下载
- 积分:1
-
一个小五子棋游戏
一个小五子棋游戏-a small 331 games
- 2022-01-25 15:15:07下载
- 积分:1
-
九江麻将源程序
九江麻将源程序-Jiujiang mahjong source
- 2023-04-01 02:10:03下载
- 积分:1
-
国际象棋游戏,用单片机8051进行控制,可以进行游戏娱乐,里面包含有源程序,以及用protues的仿真结果。...
国际象棋游戏,用单片机8051进行控制,可以进行游戏娱乐,里面包含有源程序,以及用protues的仿真结果。-Chess game, using 8051 microcontroller to control, you can play games entertainment, which contains the source code, as well as with protues the simulation results.
- 2022-03-30 22:26:40下载
- 积分:1
-
High
高质量的代码,学习好资料。资源比较全,能完全编译。-High-quality code, good study materials. Wide resources to fully compile.
- 2022-06-29 22:41:07下载
- 积分: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