-
围棋的一部分开发功能
围棋的一部分开发功能-part of the development function
- 2022-01-24 17:26:23下载
- 积分:1
-
这是用VC++做的俄罗斯方块游戏,功能很强大啊~!
这是用VC++做的俄罗斯方块游戏,功能很强大啊~!-This is used VC++ Make a Tetris game, features a very powerful ah ~!
- 2022-11-26 16:30:03下载
- 积分:1
-
C++语言开发的跳棋游戏。课程可作为人工英特尔…
C++语言开发的跳棋小游戏。可以作为人工智能课程作业,或者用于研究简单的小游戏。但是,一般人不一定下的过机器。-C++ Language developed Checkers game. Coursework can be used as artificial intelligence, or used to study a simple game. However, most people do not necessarily have been under the machine.
- 2022-08-25 23:50:38下载
- 积分:1
-
Russian brick
俄罗斯方块,c语言板的,没有包含系统的头文件,只有主体程序-Russian brick
- 2023-04-20 07:50:03下载
- 积分:1
-
运用dialog对话框演示一个五子棋程序
运用dialog对话框演示一个五子棋程序-Demonstration of the use of a dialog box procedure Gobang
- 2022-02-16 04:35:46下载
- 积分:1
-
一款可以双人连机对战的黑白棋游戏,有悔棋功能。
一款可以双人连机对战的黑白棋游戏,有悔棋功能。-one can even fans of the game reversi, he never cheat in spain function.
- 2022-07-15 15:27:36下载
- 积分: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
-
Games Hall Games source code, this process is very difficult to find online the.
游戏大厅游戏源代码,这个程序网上很难找到的。-Games Hall Games source code, this process is very difficult to find online the.
- 2022-01-26 05:16:55下载
- 积分:1
-
C language version of the 331, TC compiler
C语言版的五子棋,TC下编译-C language version of the 331, TC compiler
- 2022-10-14 19:35:02下载
- 积分:1
-
VC编写的俄罗斯方块的 源代码 以及论文
VC编写的俄罗斯方块的 源代码 以及论文-VC prepared the source code of the Russian box and papers
- 2023-01-03 08:15:03下载
- 积分:1