文件名称:game_Majiang
介绍说明--下载内容来自于网络,使用问题请自行百度
用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
——————————————————————————————
游戏的基本运行
——————————————————————————-————
运行前会先洒色子,根据色子与庄家给各玩家初始化手中的牌
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
龚义__麻将游戏/Mahjong/BasicThink.cpp
龚义__麻将游戏/Mahjong/CleverThink.cpp
龚义__麻将游戏/Mahjong/CleverThink.h
龚义__麻将游戏/Mahjong/CmpThink.h
龚义__麻将游戏/Mahjong/Mahjong.clw
龚义__麻将游戏/Mahjong/Mahjong.cpp
龚义__麻将游戏/Mahjong/Mahjong.dsw
龚义__麻将游戏/Mahjong/Mahjong.h
龚义__麻将游戏/Mahjong/Mahjong.ncb
龚义__麻将游戏/Mahjong/Mahjong.opt
龚义__麻将游戏/Mahjong/Mahjong.plg
龚义__麻将游戏/Mahjong/Mahjong.rc
龚义__麻将游戏/Mahjong/MajHu.h
龚义__麻将游戏/Mahjong/ReadMe.txt
龚义__麻将游戏/Mahjong/res/128.ico
龚义__麻将游戏/Mahjong/res/130.cur
龚义__麻将游戏/Mahjong/res/arrow_im.cur
龚义__麻将游戏/Mahjong/res/Mahjong.ico
龚义__麻将游戏/Mahjong/res/Mahjong.rc2
龚义__麻将游戏/Mahjong/res/Majpai.bmp
龚义__麻将游戏/Mahjong/res/Num.bmp
龚义__麻将游戏/Mahjong/res/sezi.bmp
龚义__麻将游戏/Mahjong/res/Thumbs.db
龚义__麻将游戏/Mahjong/res/Title.bmp
龚义__麻将游戏/Mahjong/res/背景.bmp
龚义__麻将游戏/Mahjong/res
龚义__麻将游戏/Mahjong/resource.h
龚义__麻将游戏/Mahjong/Sounds/bg.mid
龚义__麻将游戏/Mahjong/Sounds/bg.wav
龚义__麻将游戏/Mahjong/Sounds/boy/1万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/1条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/1饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/2万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/2条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/2饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/3万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/3条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/3饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/4万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/4条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/4饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/5万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/5条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/5饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/6万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/6条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/6饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/7万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/7条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/7饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/8万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/8条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/8饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/9万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/9条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/9饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/东风.wav
龚义__麻将游戏/Mahjong/Sounds/boy/中.wav
龚义__麻将游戏/Mahjong/Sounds/boy/北风.wav
龚义__麻将游戏/Mahjong/Sounds/boy/南风.wav
龚义__麻将游戏/Mahjong/Sounds/boy/发.wav
龚义__麻将游戏/Mahjong/Sounds/boy/吃.wav
龚义__麻将游戏/Mahjong/Sounds/boy/杠.wav
龚义__麻将游戏/Mahjong/Sounds/boy/流局.wav
龚义__麻将游戏/Mahjong/Sounds/boy/白.wav
龚义__麻将游戏/Mahjong/Sounds/boy/碰.wav
龚义__麻将游戏/Mahjong/Sounds/boy/胡.wav
龚义__麻将游戏/Mahjong/Sounds/boy/补花.wav
龚义__麻将游戏/Mahjong/Sounds/boy/西风.wav
龚义__麻将游戏/Mahjong/Sounds/boy
龚义__麻将游戏/Mahjong/Sounds/button.wav
龚义__麻将游戏/Mahjong/Sounds/countfan.wav
龚义__麻将游戏/Mahjong/Sounds/deal.wav
龚义__麻将游戏/Mahjong/Sounds/dice.wav
龚义__麻将游戏/Mahjong/Sounds/draw.wav
龚义__麻将游戏/Mahjong/Sounds/girl/1万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/1条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/1饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/2万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/2条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/2饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/3万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/3条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/3饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/4万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/4条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/4饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/5万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/5条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/5饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/6万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/6条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/6饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/7万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/7条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/7饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/8万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/8条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/8饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/9万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/9条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/9饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/东风.wav
龚义__麻将游戏/Mahjong/Sounds/girl/中.wav
龚义__麻将游戏/Mahjong/Sounds/girl/北风.wav
龚义__麻将游戏/Mahjong/Sounds/girl/南风.wav
龚义__麻将游戏/Mahjong/Sounds/girl/发.wav
龚义__麻将游戏/Mahjong/Sounds/girl/吃.wav
龚义__麻将游戏/Mahjong/Sounds/girl/杠.wav
龚义__麻将游戏/Mahjong/Sounds/girl/白.wav
龚义__麻将游戏/Mahjong/Sounds/girl/碰.wav
龚义__麻将游戏/Mahjong/Sounds/girl/胡.wav
龚义__麻将游戏/Mahjong/Sounds/girl/补花.wav
龚义__麻将游戏/Mahjong/Sounds/girl/西风.wav
龚义__麻将游戏/Mahjong/Sounds/girl
龚义__麻将游戏/Mahjong/Sounds/give.wav
龚义__麻将游戏/Mahjong/Sounds/hurry.wav
龚义__麻将游戏/Mahjong/Sounds/start.wav
龚义__麻将游戏/Mahjong/Sounds/win.wav
龚义__麻将游戏/Mahjong/Sounds
龚义__麻将游戏/Mahjong/StdAfx.cpp
龚义__麻将游戏/Mahjong/StdAfx.h
龚义__麻将游戏/Mahjong/Wanjia.h
龚义__麻将游戏/Mahjong/ZuoMaj.cpp
龚义__麻将游戏/Mahjong/ZuoMaj.h
龚义__麻将游戏/Mahjong/CmpThink.cpp
龚义__麻将游戏/Mahjong/BasicThink.h
龚义__麻将游戏/Mahjong/MajHu.cpp
龚义__麻将游戏/Mahjong/Wanjia.cpp
龚义__麻将游戏/Mahjong/MahjongDlg.cpp
龚义__麻将游戏/Mahjong/麻将介绍.txt
龚义__麻将游戏/Mahjong/MahjongDlg.h
龚义__麻将游戏/Mahjong/Mahjong.dsp
龚义__麻将游戏/Mahjong/Mahjong.exe
龚义__麻将游戏/Mahjong
龚义__麻将游戏/Mahjong.dsw
龚义__麻将游戏/Mahjong.ncb
龚义__麻将游戏/麻将介绍.txt
龚义__麻将游戏/Mahjong.opt
龚义__麻将游戏
www.dssz.com.txt
龚义__麻将游戏/Mahjong/CleverThink.cpp
龚义__麻将游戏/Mahjong/CleverThink.h
龚义__麻将游戏/Mahjong/CmpThink.h
龚义__麻将游戏/Mahjong/Mahjong.clw
龚义__麻将游戏/Mahjong/Mahjong.cpp
龚义__麻将游戏/Mahjong/Mahjong.dsw
龚义__麻将游戏/Mahjong/Mahjong.h
龚义__麻将游戏/Mahjong/Mahjong.ncb
龚义__麻将游戏/Mahjong/Mahjong.opt
龚义__麻将游戏/Mahjong/Mahjong.plg
龚义__麻将游戏/Mahjong/Mahjong.rc
龚义__麻将游戏/Mahjong/MajHu.h
龚义__麻将游戏/Mahjong/ReadMe.txt
龚义__麻将游戏/Mahjong/res/128.ico
龚义__麻将游戏/Mahjong/res/130.cur
龚义__麻将游戏/Mahjong/res/arrow_im.cur
龚义__麻将游戏/Mahjong/res/Mahjong.ico
龚义__麻将游戏/Mahjong/res/Mahjong.rc2
龚义__麻将游戏/Mahjong/res/Majpai.bmp
龚义__麻将游戏/Mahjong/res/Num.bmp
龚义__麻将游戏/Mahjong/res/sezi.bmp
龚义__麻将游戏/Mahjong/res/Thumbs.db
龚义__麻将游戏/Mahjong/res/Title.bmp
龚义__麻将游戏/Mahjong/res/背景.bmp
龚义__麻将游戏/Mahjong/res
龚义__麻将游戏/Mahjong/resource.h
龚义__麻将游戏/Mahjong/Sounds/bg.mid
龚义__麻将游戏/Mahjong/Sounds/bg.wav
龚义__麻将游戏/Mahjong/Sounds/boy/1万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/1条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/1饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/2万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/2条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/2饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/3万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/3条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/3饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/4万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/4条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/4饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/5万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/5条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/5饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/6万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/6条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/6饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/7万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/7条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/7饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/8万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/8条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/8饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/9万.wav
龚义__麻将游戏/Mahjong/Sounds/boy/9条.wav
龚义__麻将游戏/Mahjong/Sounds/boy/9饼.wav
龚义__麻将游戏/Mahjong/Sounds/boy/东风.wav
龚义__麻将游戏/Mahjong/Sounds/boy/中.wav
龚义__麻将游戏/Mahjong/Sounds/boy/北风.wav
龚义__麻将游戏/Mahjong/Sounds/boy/南风.wav
龚义__麻将游戏/Mahjong/Sounds/boy/发.wav
龚义__麻将游戏/Mahjong/Sounds/boy/吃.wav
龚义__麻将游戏/Mahjong/Sounds/boy/杠.wav
龚义__麻将游戏/Mahjong/Sounds/boy/流局.wav
龚义__麻将游戏/Mahjong/Sounds/boy/白.wav
龚义__麻将游戏/Mahjong/Sounds/boy/碰.wav
龚义__麻将游戏/Mahjong/Sounds/boy/胡.wav
龚义__麻将游戏/Mahjong/Sounds/boy/补花.wav
龚义__麻将游戏/Mahjong/Sounds/boy/西风.wav
龚义__麻将游戏/Mahjong/Sounds/boy
龚义__麻将游戏/Mahjong/Sounds/button.wav
龚义__麻将游戏/Mahjong/Sounds/countfan.wav
龚义__麻将游戏/Mahjong/Sounds/deal.wav
龚义__麻将游戏/Mahjong/Sounds/dice.wav
龚义__麻将游戏/Mahjong/Sounds/draw.wav
龚义__麻将游戏/Mahjong/Sounds/girl/1万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/1条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/1饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/2万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/2条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/2饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/3万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/3条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/3饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/4万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/4条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/4饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/5万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/5条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/5饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/6万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/6条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/6饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/7万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/7条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/7饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/8万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/8条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/8饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/9万.wav
龚义__麻将游戏/Mahjong/Sounds/girl/9条.wav
龚义__麻将游戏/Mahjong/Sounds/girl/9饼.wav
龚义__麻将游戏/Mahjong/Sounds/girl/东风.wav
龚义__麻将游戏/Mahjong/Sounds/girl/中.wav
龚义__麻将游戏/Mahjong/Sounds/girl/北风.wav
龚义__麻将游戏/Mahjong/Sounds/girl/南风.wav
龚义__麻将游戏/Mahjong/Sounds/girl/发.wav
龚义__麻将游戏/Mahjong/Sounds/girl/吃.wav
龚义__麻将游戏/Mahjong/Sounds/girl/杠.wav
龚义__麻将游戏/Mahjong/Sounds/girl/白.wav
龚义__麻将游戏/Mahjong/Sounds/girl/碰.wav
龚义__麻将游戏/Mahjong/Sounds/girl/胡.wav
龚义__麻将游戏/Mahjong/Sounds/girl/补花.wav
龚义__麻将游戏/Mahjong/Sounds/girl/西风.wav
龚义__麻将游戏/Mahjong/Sounds/girl
龚义__麻将游戏/Mahjong/Sounds/give.wav
龚义__麻将游戏/Mahjong/Sounds/hurry.wav
龚义__麻将游戏/Mahjong/Sounds/start.wav
龚义__麻将游戏/Mahjong/Sounds/win.wav
龚义__麻将游戏/Mahjong/Sounds
龚义__麻将游戏/Mahjong/StdAfx.cpp
龚义__麻将游戏/Mahjong/StdAfx.h
龚义__麻将游戏/Mahjong/Wanjia.h
龚义__麻将游戏/Mahjong/ZuoMaj.cpp
龚义__麻将游戏/Mahjong/ZuoMaj.h
龚义__麻将游戏/Mahjong/CmpThink.cpp
龚义__麻将游戏/Mahjong/BasicThink.h
龚义__麻将游戏/Mahjong/MajHu.cpp
龚义__麻将游戏/Mahjong/Wanjia.cpp
龚义__麻将游戏/Mahjong/MahjongDlg.cpp
龚义__麻将游戏/Mahjong/麻将介绍.txt
龚义__麻将游戏/Mahjong/MahjongDlg.h
龚义__麻将游戏/Mahjong/Mahjong.dsp
龚义__麻将游戏/Mahjong/Mahjong.exe
龚义__麻将游戏/Mahjong
龚义__麻将游戏/Mahjong.dsw
龚义__麻将游戏/Mahjong.ncb
龚义__麻将游戏/麻将介绍.txt
龚义__麻将游戏/Mahjong.opt
龚义__麻将游戏
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.