-
VC编写的俄罗斯方块的 源代码 以及论文
VC编写的俄罗斯方块的 源代码 以及论文-VC prepared the source code of the Russian box and papers
- 2023-01-03 08:15:03下载
- 积分:1
-
中国象棋
一款用C++语言编写的中国象棋的程序,并有可视化窗口界面...
中国象棋
一款用C++语言编写的中国象棋的程序,并有可视化窗口界面-Chinese Chess a C++, written in Chinese chess programs, and a visualization window interface
- 2022-06-17 19:15:40下载
- 积分:1
-
我在网上发现的一个经典24点的程序。
我在网上发现的一个经典24点的程序。-I found on the Internet a classic 24 point procedures.
- 2022-01-30 21:16:43下载
- 积分:1
-
用中国象棋控制台编写的一所写的,清晰的思想和实现人
vc++ Builder写的中国象棋控制台程序;思路清晰,实现人机对战功能。-vc Builder written by Chinese chess console; Clear ideas and realizing human-computer screen function.
- 2022-02-20 12:26:29下载
- 积分:1
-
一个开发中国象棋程序的开发包
一个开发中国象棋程序的开发包-A development process of Chinese chess development kit
- 2023-08-30 14:50:02下载
- 积分:1
-
一个很好的中国象棋游戏源码,支持人
一个不错的中国象棋游戏源代码,支持人机博弈,且电脑智能化颇高。-A good game of Chinese chess source code, support for human-computer game, computer and high intelligence.
- 2022-08-03 05:41:54下载
- 积分: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 web 版二人斗地主实现,和源代码
主要是 Java web 版二人斗地主实现,和源代码-Java web version is mainly to achieve two斗地主, and source code
- 2022-10-09 15:40:02下载
- 积分:1
-
单击版象棋源代码!
单击版象棋源代码!-click version of the source code chess!
- 2022-06-27 17:56:19下载
- 积分:1
-
中国象棋的源程序
中国象棋的源程序-Chinese chess source
- 2023-03-06 17:30:03下载
- 积分:1