-
用人工智能方法编写的五子棋程序,使用了贪心算法等,运行速度很快,人工智能比较强大...
用人工智能方法编写的五子棋程序,使用了贪心算法等,运行速度很快,人工智能比较强大-using artificial intelligence methods to prepare the 331 procedures, the use of the greedy algorithm, running very fast, more powerful artificial intelligence
- 2022-03-06 01:21:31下载
- 积分:1
-
a Chinese chess game
一个中国象棋游戏-a Chinese chess game
- 2022-03-03 03:52:31下载
- 积分:1
-
这是一个完全的中国象棋程序,很好的人工智能,B。
这是一个完全的中国象棋程序,有比较好的人工智能,而且可以自己来改善人工智能的参数,是一个非常好的例子,程序也比较庞大,编译后程序不再提供,解压在c:根目录下-This is a completely Chinese chess procedures, better artificial intelligence, but also to improve their own artificial intelligence parameters, is a very good example, procedures are relatively large, compiled procedures no longer available, unpacked in c : root directory
- 2022-08-07 10:13:39下载
- 积分:1
-
一个简单的扑克游戏,空格选牌,回车出牌,方向键控制光标,q 不出
水平有限,电脑方比较弱智...
一个简单的扑克游戏,空格选牌,回车出牌,方向键控制光标,q 不出
水平有限,电脑方比较弱智-A simple poker game, spaces election card, enter the license keys to control the direction of the cursor, q not limited, the computer compared to the mentally handicapped
- 2022-07-11 12:04:09下载
- 积分: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
-
用DELPHI开发的五子棋游戏软件,对学习游戏编程有帮助。
用DELPHI开发的五子棋游戏软件,对学习游戏编程有帮助。-with Delphi"s 331 game software, to learn the game programming help.
- 2022-04-07 03:37:39下载
- 积分:1
-
用MFC编写的飞行棋游戏,包括游戏界面、核心算法、走棋动画的实现。...
用MFC编写的飞行棋游戏,包括游戏界面、核心算法、走棋动画的实现。-Prepared using MFC flight chess games, including the game interface, the core algorithm, take the chess animation implementation.
- 2022-09-01 07:55:03下载
- 积分:1
-
turboc2下的九子棋,人机对战的,用二叉树很麻烦,用了穷举
turboc2下的九子棋,人机对战的,用二叉树很麻烦,用了穷举-turboc2 the nine-game, man-machine players, a binary tree is cumbersome, with the exhaustive
- 2023-09-05 00:55:03下载
- 积分:1
-
五子棋的核心算法 五子棋是一种受大众广泛喜爱的游戏,其规则简单,变化多端,非常富有趣味性和消遣 性。这里设计和实现了一个人机对下的五子棋程序,采用了博弈树的方法...
五子棋的核心算法 五子棋是一种受大众广泛喜爱的游戏,其规则简单,变化多端,非常富有趣味性和消遣 性。这里设计和实现了一个人机对下的五子棋程序,采用了博弈树的方法,应用了剪枝 和最大最小树原理进行搜索发现最好的下子位置。介绍五子棋程序的数据结构、评分规 则、胜负判断方法和搜索算法过程。-331 of 331 core algorithm is a widely loved by the public of the game, its rules simple and changeable, very rich and interesting recreational. Here the design and realization of a human-machine right under the 331 procedures using the Game trees, pruning and application of the largest and most trees principle Search Now found the best location. Renju procedures introduced the data structure, score rules, methods and judgment of the outcome search algorithm process.
- 2022-08-21 11:00:18下载
- 积分:1
-
Black and White Go! We normally have played, this source code for reference! We...
黑白围棋!大家平时都玩过的,此源代码供参考!大家可以一起来研究!-Black and White Go! We normally have played, this source code for reference! We can work together to study!
- 2022-12-16 07:00:02下载
- 积分:1