-
主要是 Java大富翁戏源代码,可执行效果
主要是 Java大富翁戏源代码,可执行效果-Java Monopoly show source code, executable results
- 2022-07-02 00:40:36下载
- 积分:1
-
源与俄罗斯的箱流程图设计
VC俄罗斯方块源码和流程图设计。开发者刘林namesliu@sina.com
-VC source and the Russian box flowchart design
- 2022-03-16 13:16: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 version of Chinese chess double war (Java version of Chinese chess Double w...
Java版中国象棋双人对战程序(Java版中国象棋双人对战程序)-Java version of Chinese chess double war (Java version of Chinese chess Double war Procedure)
- 2022-10-28 08:05:04下载
- 积分:1
-
象棋编程VC++源码
象棋编程VC++源码-chess programming VC++ source code
- 2022-07-25 00:53:41下载
- 积分:1
-
供两个人网上对弈的网络五子棋源码
供两个人网上对弈的网络五子棋源码- Network gobang source code on-line plays chess which for two
people
- 2022-02-14 15:53:58下载
- 积分:1
-
此程序是一个模拟俄罗斯方块的程序....
cell.cpp
MainFrm.cpp
Russia.cpp
RussiaDoc.cpp
Rus...
此程序是一个模拟俄罗斯方块的程序....
cell.cpp
MainFrm.cpp
Russia.cpp
RussiaDoc.cpp
RussiaView.cpp
SETdlg.c-this program is a simulation of the Russian squares procedures .... cell.cpp MainFrm. cpp Russia.cpp RussiaDoc.cpp RussiaView.cpp SETdlg.c
- 2022-07-11 23:44:28下载
- 积分:1
-
一个扑克牌的小游戏,用c++实现的.功能可能还不是太全,希望大家能够完善一下!...
一个扑克牌的小游戏,用c++实现的.功能可能还不是太全,希望大家能够完善一下!-a small poker games, using c achieve. Functions may not be too long, hope that we can improve what!
- 2022-08-10 08:47:56下载
- 积分:1
-
Simple 24
简单的24点游戏,希望大家能够喜欢啊.这是第一次上传-Simple 24-point game, I hope everyone can be like ah. This is the first upload
- 2022-03-10 19:54:18下载
- 积分:1
-
三游戏和移动代码,我不知道是否运行,可以参考…
三国手机游戏及代码,不知能否运行,可以参照它的代码-three games and mobile code, I do not know whether running, it can refer to the code
- 2023-03-09 23:30:03下载
- 积分:1