-
VC++五子棋随着互联网的发展,有其自己的变化规则。
用vc开发的互联网五子棋,该游戏进过自己的修改,已经和网络上的几乎一样了-Vc Gobang with the development of the Internet, which had its own changes into the game, already on the network is almost the same as the
- 2022-06-30 20:21:44下载
- 积分:1
-
VC编写的俄罗斯方块的 源代码 以及论文
VC编写的俄罗斯方块的 源代码 以及论文-VC prepared the source code of the Russian box and papers
- 2023-01-03 08:15:03下载
- 积分:1
-
mines dug game source code, clear thinking, has already debugging, direct operat...
该程序是挖地雷游戏的源码,思想明确,已经经过调试,可以直接运行,visual c++的算法-mines dug game source code, clear thinking, has already debugging, direct operation, visual c algorithm
- 2022-03-01 09:55:16下载
- 积分: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
-
思念他明智的忠告331游戏的源代码
一个比较精到的 五子棋游戏程序源代码-miss his wise counsel of a 331 game source code
- 2022-02-02 02:30:44下载
- 积分:1
-
应用平台SCO OpenServer 5一331的C程序,包括源代码…
应用平台 SCO OpenServer 5 一个五子棋的C程序,含源代码和目标程序,做的非常不错,对话也很有意思!-application platform SCO OpenServer 5 a 331 C procedures, including source code and objectives of procedures done very well, the dialogue is also very interesting!
- 2022-07-23 21:50:15下载
- 积分:1
-
特色:面向对象程序设计,基于控制台的C++五子棋程序,包括人机对战和人人对战,添加了禁手、悔棋、存盘功能。AI算法很快。...
特色:面向对象程序设计,基于控制台的C++五子棋程序,包括人机对战和人人对战,添加了禁手、悔棋、存盘功能。AI算法很快。-Features: Object-oriented programming, console-based C++ Gobang procedures, including the man-machine, and man-man Battle, the forbidden hand, undo, archiving function. AI algorithms quickly.
- 2023-04-01 01:50:04下载
- 积分:1
-
这是一款人机对弈的中国象棋程序,可以选择搜索层数,可以悔棋。...
这是一款人机对弈的中国象棋程序,可以选择搜索层数,可以悔棋。-This is a man-machine chess players, the Chinese procedures, we can choose to search floors, he never cheat in spain.
- 2022-02-01 03:50:05下载
- 积分:1
-
中国象棋的人机博弈实现,可以选择电脑的难度
中国象棋的人机博弈实现,可以选择电脑的难度-China" s man-machine chess game to achieve, you can choose the difficulty of the computer
- 2022-01-26 01:13:45下载
- 积分:1
-
Based on the Qt4.0 Gobang source, stand
基于Qt4.0的五子棋的源码,单机版的.相比于第一版有些变化.-Based on the Qt4.0 Gobang source, stand-alone version. Compared to the first edition of some changes.
- 2022-04-24 11:27:42下载
- 积分:1