-
贪吃蛇小游戏,功能十分简单,但还是有一定的游戏性的.
贪吃蛇小游戏,功能十分简单,但还是有一定的游戏性的.-Snake game, functionality is very simple, but still has some of the game.
- 2023-02-03 00:05:04下载
- 积分:1
-
中国象棋,有单机游戏和网络游戏,实现人和人对弈、网络上对弈。...
中国象棋,有单机游戏和网络游戏,实现人和人对弈、网络上对弈。-Chinese Chess, there are stand-alone games and online games, the realization of the human person game, the network game.
- 2023-07-16 03:55:04下载
- 积分:1
-
A beginners program for the Russian box, the more trouble, but the result is the...
一个初学者编的俄罗斯方块程序,麻烦了些,不过也算是有个结果。-A beginners program for the Russian box, the more trouble, but the result is there.
- 2022-07-15 08:17:45下载
- 积分:1
-
网络对战的中国象棋,有详细注释
网络对战的中国象棋,有详细注释-network of Chinese chess players, a detailed Notes
- 2022-03-22 09:56:01下载
- 积分:1
-
经典"坦克大战”是大家熟悉射击游戏,本人采用联想坦克的图象、声音素材、参考以前坦克的源代码,写了这个Java版
改写成现在这个坦克游戏,支持双人游戏,较高的...
经典"坦克大战”是大家熟悉射击游戏,本人采用联想坦克的图象、声音素材、参考以前坦克的源代码,写了这个Java版
改写成现在这个坦克游戏,支持双人游戏,较高的人工智能,提供6种道具,5种地貌,希望大
家喜欢-Classic
- 2022-04-14 12:46:47下载
- 积分:1
-
331 FO
五子棋源码-331 FO
- 2022-03-30 10:58:02下载
- 积分:1
-
四福克斯网络象棋旗源代码,与其他程序员交流为R ..
网狐棋牌四国军旗源代码,与其他程序员交换来的资源,提供共享受,仅供学习-Four Fox network chess flag source code with other programmers in exchange for resources to provide a total of enjoyment, only to learn
- 2022-10-11 09:45:08下载
- 积分:1
-
实现大鸟飞行,大鸟从一片沙漠中飞行,对初学动画者有一定帮助...
实现大鸟飞行,大鸟从一片沙漠中飞行,对初学动画者有一定帮助-Realize bird flight, bird flying from a desert of animation beginner who has a certain extent, help
- 2022-02-02 02:42:06下载
- 积分: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
-
用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