求助翻译!急!!!
五子棋人机对战的设计与实现摘要近年来随着计算机技术的快速发展,各种棋类游戏被纷纷请进了电脑,五子棋游戏因规则简单、局面变化无穷而深受广大玩家的喜爱。而对于初步探究人工智能...
五子棋人机对战的设计与实现
摘 要
近年来随着计算机技术的快速发展,各种棋类游戏被纷纷请进了电脑,五子棋游戏因规则简单、局面变化无穷而深受广大玩家的喜爱。而对于初步探究人工智能的编程爱好者来说,编制规则简单的五子棋游戏也是一个不错的选择。
本文首先介绍了五子棋游戏的基本规则,以及游戏的整体设计。根据五子棋的基本规则,要让电脑知道该在哪一点下子,就要根据盘面的形势,为每一个可能落子的点分别计算其重要程度。借助获胜表,计算机可以计算出每个点的重要程度的,再采用了博弈树的方法,应用剪枝和最大最小树原理进行搜索,从而发现最好的下子位置。当某方下一子后,计算与当前棋子相邻的八个方向,以该子为出发点的水平、竖直和两条分别为45度角和135度角的线的同色棋子个数,大于四则分出胜负,否则继续。最后,介绍了游戏界面及辅助功能的实现。
关键词:人工智能,五子棋,博弈树 展开
摘 要
近年来随着计算机技术的快速发展,各种棋类游戏被纷纷请进了电脑,五子棋游戏因规则简单、局面变化无穷而深受广大玩家的喜爱。而对于初步探究人工智能的编程爱好者来说,编制规则简单的五子棋游戏也是一个不错的选择。
本文首先介绍了五子棋游戏的基本规则,以及游戏的整体设计。根据五子棋的基本规则,要让电脑知道该在哪一点下子,就要根据盘面的形势,为每一个可能落子的点分别计算其重要程度。借助获胜表,计算机可以计算出每个点的重要程度的,再采用了博弈树的方法,应用剪枝和最大最小树原理进行搜索,从而发现最好的下子位置。当某方下一子后,计算与当前棋子相邻的八个方向,以该子为出发点的水平、竖直和两条分别为45度角和135度角的线的同色棋子个数,大于四则分出胜负,否则继续。最后,介绍了游戏界面及辅助功能的实现。
关键词:人工智能,五子棋,博弈树 展开
展开全部
The gobang man-machine to the design and the realization abstract
which fought in recent years along with the computer technology fast
development, each kind of chess game please enter in abundance the
computer, the gobang game because of the rule simple, aspect countless
changes and generally is deeply played family's affection. But
regarding initially inquired into artificial intelligence the
programming amateur said, the establishment rule simple gobang game
also is a good choice. This article first introduced the gobang game
fundamental rule, as well as game overall design. According to the
gobang fundamental rule, must let the computer know which should
under, have to act according to the card the situation, separately
calculates its important degree for each possibility spot. With
the aid of wins the table, the computer may calculate each spot the
important degree, again has used the gambling tree's method, the
application pruning and the most greatly smallest tree principle
carries on the search, thus discovers the best under sub- position.
After some side next one sub-, the computation and the current board
game piece neighboring eight directions, take this sub- as the
starting point level, are vertical and two respectively are 45 angles
and 135 angles lines same colour the board game piece integer, is bigger
than four pieces to branch out the victory and defeat, otherwise
continues. Finally, introduced the game contact surface and the
assistance function realization. Key word: Artificial intelligence,
gobang, gambling tree 翻译的好辛苦....希望采纳
which fought in recent years along with the computer technology fast
development, each kind of chess game please enter in abundance the
computer, the gobang game because of the rule simple, aspect countless
changes and generally is deeply played family's affection. But
regarding initially inquired into artificial intelligence the
programming amateur said, the establishment rule simple gobang game
also is a good choice. This article first introduced the gobang game
fundamental rule, as well as game overall design. According to the
gobang fundamental rule, must let the computer know which should
under, have to act according to the card the situation, separately
calculates its important degree for each possibility spot. With
the aid of wins the table, the computer may calculate each spot the
important degree, again has used the gambling tree's method, the
application pruning and the most greatly smallest tree principle
carries on the search, thus discovers the best under sub- position.
After some side next one sub-, the computation and the current board
game piece neighboring eight directions, take this sub- as the
starting point level, are vertical and two respectively are 45 angles
and 135 angles lines same colour the board game piece integer, is bigger
than four pieces to branch out the victory and defeat, otherwise
continues. Finally, introduced the game contact surface and the
assistance function realization. Key word: Artificial intelligence,
gobang, gambling tree 翻译的好辛苦....希望采纳
展开全部
The plan about Humen vs computer with chessmen of five
Recently computer developing is change with each passing day. the computer Games have been accessed people's life. These games among which chessmen of five is very hot in computer games.It's have many advantage for example simple regulars and so on.
So it's popular in the computer'work out.........................
sorry,I don't know how to say.
please, youself writing and It's up to you.
I hope this content can help your inspiration.
yours sincerely
lordkingdom(belle^.^)
Recently computer developing is change with each passing day. the computer Games have been accessed people's life. These games among which chessmen of five is very hot in computer games.It's have many advantage for example simple regulars and so on.
So it's popular in the computer'work out.........................
sorry,I don't know how to say.
please, youself writing and It's up to you.
I hope this content can help your inspiration.
yours sincerely
lordkingdom(belle^.^)
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
同意楼上的 哈哈
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
太长了
加分
加分
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询