-
格子棋游戏的C语言源程序,适合初学者学习使用
格子棋游戏的C语言源程序,适合初学者学习使用-Lattice chess game of C language source code, suitable for beginners learning to use
- 2022-11-20 22:20:03下载
- 积分: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源码,,五子棋,共学生下载
java源码,,五子棋,共学生下载-java source code, and 331 were students download
- 2022-03-23 15:40:00下载
- 积分:1
-
others that use the 1000 block of Terry Avenue is a hospital procedure using jav...
在别人那拿来的
是一个连连看的院程序
用java编的
对新手很有帮助
吐血推荐-others that use the 1000 block of Terry Avenue is a hospital procedure using java series of thumb recommended helpful to vomit blood
- 2022-01-25 18:05:27下载
- 积分:1
-
这个五子棋游戏是天罡鹦鹉的五子棋绿色版,免安装,不会修改任何系统信息。此五子棋游戏而且还具有记忆功能,能记录下每次的游戏,以供下次游戏使用。如果你每天和他进行对...
这个五子棋游戏是天罡鹦鹉的五子棋绿色版,免安装,不会修改任何系统信息。此五子棋游戏而且还具有记忆功能,能记录下每次的游戏,以供下次游戏使用。如果你每天和他进行对战,就会发现他和你都越来越聪明。-This game is Gobang Gobang green parrots Tian-gang version, free installation, will not modify any system information. Gobang this game but also has a memory function that can record every time the game is for the use of the next game. If you play him every day and you will find him and you become smarter.
- 2023-04-06 07:20:04下载
- 积分:1
-
five games on the procedures related to socket programming and DirectDraw.
上载五个游戏程序,涉及到SOCKET编程和DirectDraw.-five games on the procedures related to socket programming and DirectDraw.
- 2022-07-20 15:02:34下载
- 积分:1
-
Checkers This is a procedure, do not have the network function, but which is sti...
这是一个跳棋程序,不具备网络功能,不过哪一个还不错
- 2022-07-02 18:58:35下载
- 积分:1
-
俄罗斯方块源程序,参照了我从网上下载的游戏方块设计.在游戏中,加了很多注释,以方便理解,主要的代码都在CChileView.h、CChileView.CPP中....
俄罗斯方块源程序,参照了我从网上下载的游戏方块设计.在游戏中,加了很多注释,以方便理解,主要的代码都在CChileView.h、CChileView.CPP中.-Tetris source code, in the light of what I downloaded from the Internet game box design. In the game, plus a lot of notes to facilitate understanding, the main code are CChileView.h, CChileView.CPP in.
- 2022-05-28 23:33:24下载
- 积分:1
-
鑫众棋牌很不错,可架设个人、网络、域内网都可。
此为真钱游戏客户端、服务端、内设教程。...
鑫众棋牌很不错,可架设个人、网络、域内网都可。
此为真钱游戏客户端、服务端、内设教程。-Very good, can be set up personal, network, network domain can be. This is a real money game client, server, inside the tutorial.
- 2023-04-16 06:25:06下载
- 积分:1
-
JAVA reversi, games.
JAVA黑白棋,游戏。-JAVA reversi, games.
- 2022-03-12 06:41:45下载
- 积分:1