-
很老土的游戏,但是是VC++做的
很老土的游戏,但是是VC++做的-very old fashioned games, but Visual C++ is done
- 2023-08-05 00:05:03下载
- 积分:1
-
small one simple game that everyone plays, but not man
一款简单的小型游戏,人人对弈,但不能人机对弈-small one simple game that everyone plays, but not man-machine players
- 2022-07-11 02:04:11下载
- 积分: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做的围棋小游戏,完成一般为其的功能,还可以万五子棋
- 2022-09-06 22:40:02下载
- 积分:1
-
JAVA的黑白棋游戏源代码
JAVA的黑白棋游戏源代码-Java source code game reversi
- 2022-07-16 05:24:41下载
- 积分:1
-
一个大家都喜欢玩的游戏――斗地主的开源代码,在此分享
一个大家都喜欢玩的游戏――斗地主的开源代码,在此分享-We all love to play a game-斗地主of open source code, in this share
- 2022-03-20 09:51:02下载
- 积分:1
-
欢乐五子棋C#版(带源码)
欢乐五子棋C#版(带源码)-joy C# 331 version (with source code)
- 2022-06-29 19:17:38下载
- 积分:1
-
C++做的好玩的五子棋游戏,适合新手参阅
C++做的好玩的五子棋游戏,适合新手参阅-Gobang fun game, suitable for novice refer to the。。。
- 2022-03-24 09:00:06下载
- 积分:1
-
A well
一部制作精良的中国象棋小游戏,画面清新,它的优势是操作简单,电脑的难度不高,非常适合初学者。基本操作:鼠标左键点击选中棋子,再点移动。-A well-made Chinese chess game, the screen clean, and its advantages are simple operation, the difficulty of the computer is not high, very suitable for beginners. Basic steps: Click the left mouse button to select a pawn, and then point the mobile.
- 2023-06-19 18:15:03下载
- 积分:1
-
一个五子棋游戏,特别好玩,编程思路清晰
一个五子棋游戏,特别好玩,编程思路清晰-a 331 game, especially fun, programming clear ideas
- 2022-02-22 12:01:43下载
- 积分:1