Location:
Search - mahjong
Search list
Description: 联网麻将的算法。-networking mahjong algorithm.
Platform: |
Size: 33303 |
Author: 吴铮 |
Hits:
Description: 麻将原代码 c源程序-mahjong original source code c
Platform: |
Size: 6144 |
Author: cpav |
Hits:
Description: c语言麻将原代码-mahjong source
Platform: |
Size: 6144 |
Author: 我厂 |
Hits:
Description: 实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。-achieve a complete network of four mahjong games, the procedures set server and client functions and integration. This chapter introduces the non-reciprocal network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.
Platform: |
Size: 2081792 |
Author: 张伟 |
Hits:
Description: 用VB编写的模拟麻将程序,三维光影效果,学习篇。有很多不足之处。-VB mahjong prepared by the simulation procedure, 3D visuals and learning chapter. There are many deficiencies.
Platform: |
Size: 412672 |
Author: |
Hits:
Description: 一个完整的麻将游戏原代码,可以学到很多东西-a complete game of mahjong the original code, can learn a lot of things
Platform: |
Size: 9974784 |
Author: 胡洁 |
Hits:
Description: 中国麻将c++源码, 是学习棋牌游戏的比较好的入门参考-China Mahjong c source, and dominoes are learning the game better entry reference
Platform: |
Size: 2599936 |
Author: aa |
Hits:
Description: 一个用VC++编成的麻将游戏源代码.功能齐全,人性化的界面.该程序是用MFC编成的.-a VC monument of the mahjong game source code. Multifunctional human interface. the program is the MFC organization.
Platform: |
Size: 1887232 |
Author: 凌霄 |
Hits:
Description: 一款麻将游戏的J2me源代码,对Vector的用法值得借鉴-A mahjong game J2me source code, the use of Vector worth learning
Platform: |
Size: 369664 |
Author: 李果 |
Hits:
Description: 用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 state (m_nState == 1) : If the computer Thinking the worst allow a licensing and out licensing, If people let their choice (no corresponding time card is automatically out just grasping the new licensing (m_nNewPai) ) 4. According to the player judged by licensing th
Platform: |
Size: 3951616 |
Author: 杨振 |
Hits:
Description: 联网麻将的算法。-networking mahjong algorithm.
Platform: |
Size: 32768 |
Author: 吴铮 |
Hits:
Description: 麻将游戏,在局于网真可以运行,你可以和他们一起来玩,是C/S构架,不修要修改代码-Mahjong games, in the Bureau in TelePresence can run, you can play with them is the C/S architecture, or revision to amend the code
Platform: |
Size: 1922048 |
Author: xyj357925153 |
Hits:
Description: 一个麻将游戏,人机游戏,16张牌,VC++开发-A mahjong game, man-machine games, 16 licensed, VC++ Development
Platform: |
Size: 9737216 |
Author: liao |
Hits:
Description: 一个外国人写的麻将游戏。大家看看老外是怎样理解我们的国粹的-Written by a foreigner mahjong game. U.S. to see how a foreigner understand our national essence of
Platform: |
Size: 249856 |
Author: 5555 |
Hits:
Description: 很不错的一个麻将手机游戏,大家可以试玩玩。-Mahjong is a good mobile game, we can try to play.
Platform: |
Size: 94208 |
Author: hwtjzy |
Hits:
Description: 移动平台游戏开发,一个手机麻将程序, 对学习手机游戏开发很有帮助-Mobile platform game developers, a mobile phone mahjong process of learning to develop useful mobile phone game
Platform: |
Size: 79872 |
Author: pinkhom |
Hits:
Description: 手机小游戏,这是玩家和电脑之间的二人麻将。按北方长见的麻将玩法-Mobile phone game, which is between the player and two-person computer mahjong. By the North long to see playing mahjong
Platform: |
Size: 89088 |
Author: 罗利 |
Hits:
Description: 中国麻将源代码,4个人的游戏,要先建立主机服务器,能识别碰、杠、和牌等。-Chinese mahjong source code, 4 individual games, before the establishment of the host server, to identify impact, bars, and licensing and so on.
Platform: |
Size: 3476480 |
Author: 幽梦影 |
Hits:
Description: 麻将游戏代码
对游戏编程有兴趣的可以-Mahjong game programming code can look interested
Platform: |
Size: 3894272 |
Author: |
Hits:
Description:
网狐棋牌游戏最新6.6版,宁海麻将
全部源码(服务端、客户端)-Net 6.6 version of the latest Fox board games, mahjong Ninghai all the source code (the server, client)
Platform: |
Size: 7696384 |
Author: 吴晓露 |
Hits:
« 12
3
4
5
6
7
8
9
10
...
20
»