-
一个VC学习入门和学习游戏开发的小软件。入门很有用,比看很多书都强。...
一个VC学习入门和学习游戏开发的小软件。入门很有用,比看很多书都强。-a learning portal and learning the small game development software. Entry useful, than watching many books do.
- 2022-04-07 01:03:20下载
- 积分: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
-
欢迎来玩。当有五块连接在一起,为赢。如果…
五子棋游戏。当有5颗棋子连在一起时,为赢。横竖斜着都可以。-Welcome to play. When there are five pieces connected together, for the win. If they had placed at an angle can be.
- 2022-07-26 07:13:32下载
- 积分:1
-
online poker read many components of the preparation, most of the calls Windows/...
在网上看了不少关于扑克牌组件的编写,大多是调用Windows/system32下的cards.dll其实我们如果不调用这些函数也是可以作一个很好扑克牌组件。-online poker read many components of the preparation, most of the calls Windows/system32 cards.dll fact that if we do not call these functions would also be a very good poker components.
- 2022-03-21 11:06:39下载
- 积分:1
-
九江麻将源程序
九江麻将源程序-Jiujiang mahjong source
- 2023-04-01 02:10: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
-
RedHeart Poker Game, written by Java ,support a lot system! tyre
红心大战 ,,,,, 玩过吧,,,,,,JAVA的来了 ,,,, 可以支持多平台了呀,试试啦-RedHeart Poker Game, written by Java ,support a lot system! tyre
- 2022-01-25 14:11:25下载
- 积分:1
-
五子棋 用vc++6.0编写 很不错的
五子棋 用vc++6.0编写 很不错的-331 with 6.0 vc very good preparation
- 2022-08-22 23:38:53下载
- 积分:1
-
一个用c++ 3.1编的五子棋游戏
一个用c++ 3.1编的五子棋游戏-c 3.1 with a series of 331 games
- 2022-01-27 22:37:57下载
- 积分:1
-
五子棋游戏,支持单机和网络。
五子棋游戏,支持单机和网络。-331 games, stand-alone and network support.
- 2022-12-05 13:35:03下载
- 积分:1