-
一个Java的麻将游戏,是一款Midp2.0 的手机游戏
一个Java的麻将游戏,是一款Midp2.0 的手机游戏-a game of mahjong is one of the cell phone game Midp2.0
- 2022-02-21 07:15:58下载
- 积分:1
-
使用Borland C++ Builder 6.0开发的网络五子棋游戏,有一个寓教于乐的东东~...
使用Borland C++ Builder 6.0开发的网络五子棋游戏,有一个寓教于乐的东东~-The use of Borland C++ Builder 6.0 to develop a network Gobang game, there is a recreation of the NEE ~
- 2022-05-12 23:30:57下载
- 积分:1
-
TC3.0编译,运行在98(如直接调用中断鼠标)C:…
TC3.0下编译,98下运行(因为直接调用中断中的鼠标) 放在c:windowsdesktopwzq下 也就是把程序烤到98桌面上去 运行wzq.exe的时候必须有egavga.bgi 和 hzk16在同一目录-TC3.0 compiler, running under 98 (as a direct call interrupted the mouse) on c : windows desktop wzq is under the procedures bake up to 98 desktop operating wzq.exe must have the time and hzk16 egavga.bgi in the same directory
- 2022-04-15 17:34:46下载
- 积分:1
-
欢乐五子棋C#版(带源码)
欢乐五子棋C#版(带源码)-joy C# 331 version (with source code)
- 2022-06-29 19:17:38下载
- 积分:1
-
这是一个连连看的源代码程序,我写了三个下午才写好的.
这是一个连连看的源代码程序,我写了三个下午才写好的.-1000 block of Terry Avenue is a source code procedure, I was only getting three in the afternoon.
- 2022-04-16 08:37:32下载
- 积分:1
-
一个中国象棋的源代码
一个中国象棋的源代码-a Chinese chess source code
- 2022-07-14 12:40:40下载
- 积分: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
-
A source Gobang game. Can be achieved and the computer game, a certain degree of...
一个五子棋游戏的源码。可以实现人和计算机的对弈,计算机有一定的人工智能。呵呵,一般人可下不过计算机啊。-A source Gobang game. Can be achieved and the computer game, a certain degree of artificial intelligence computer. Oh, most people can be under the computer but ah.
- 2023-05-31 07:05:03下载
- 积分:1
-
这是用VC精心编写的实现中国象棋的代码,总体来说写的比较精巧,值得学习...
这是用VC精心编写的实现中国象棋的代码,总体来说写的比较精巧,值得学习-This is the VC well-written realization Chinese chess code, generally speaking, writing more sophisticated, it is worth learning
- 2022-08-03 14:59:03下载
- 积分:1
-
这是一款很不错的游戏! 希望手机游戏爱好者能喜欢 用在3100上...
这是一款很不错的游戏! 希望手机游戏爱好者能喜欢 用在3100上-This is a very good game! Mobile gaming enthusiasts hope can be like in 3100 on
- 2022-04-22 03:17:28下载
- 积分:1