登录
首页 » DOS » wzq

wzq

于 2021-01-15 发布 文件大小:425KB
0 477
下载积分: 1 下载次数: 14

代码说明:

  近来随着计算机的快速发展,各种棋类游戏被纷纷请进了电脑,使得那些喜爱下棋,又常常苦于没有对手的棋迷们能随时过足棋瘾。而且这类软件个个水平颇高,大有与人脑分庭抗礼之势。其中战胜过国际象棋世界冠军-卡斯帕罗夫的“深蓝”便是最具说服力的代表;其它像围棋的“手淡”、象棋的“将族”等也以其优秀的人工智能深受棋迷喜爱;而我们今天将向大家介绍的是五子棋的算法。 当我们与电脑对战时,您知道这些软件是怎样象人脑一样进行思考的吗?前不久我曾编写过一个五子棋的游戏,在这里就以此为例和大家一起探讨探讨。 总的来说(我们假定您熟悉五子棋的基本规则),要让电脑知道该在哪一点下子,就要根据盘面的形势,为每一可能落子的点计算其重要程度,也就是当这子落下后会形成什么棋型(如:“冲四”、“活三”等),然后通览全盘选出最重要的一点,这便是最基本的算法。当然,仅靠当前盘面进行判断是远远不够的,这样下棋很容易掉进玩家设下的陷阱,因为它没有考虑以后的变化。所以在此基础上我们加入递归调用,即:在电脑中预测出今后几步的各种走法,以便作出最佳选择,这也是我们下棋时常说的“想了几步”。如此一来您的程序便具有一定的水平了。 (With the recent rapid development of computers, various board games have been invited to the computer, making those who love playing chess, and usually do not have the opponent s chess enthusiast can always have adequate chess addiction. And all levels of this type of software is high, go a long way with the potential to rival the human brain. Had to overcome one of the World Chess Championship- Garry Kasparov s "Deep Blue" is the most convincing representatives other like Go s "short hand" chess "will be ethnic," also for its excellent artificial intelligence chess enthusiast popular favorite and we will introduce the U.S. are Gobang algorithms. When we and the computer during wartime, you know how the software is to consider brain-like Elephant Man s吗? Not long ago, I have prepared a Gobang games here at this example and explore the U.S. to explore. In general (we assume that you are familiar with the basic rules Gobang), let the computer know at what point Now, it is necess)

文件列表:

FONT
....\HZK16
README.EXE
SOURCE
......\FIVE.C
......\INCLUDE
......\.......\KEYS.H
......\.......\SVGACC.H
......\.......\SVGA_IMG.H
......\.......\S_BUTTOM.H
......\MYOBJ
......\.....\SPRINTC.C
......\.....\SPRINTC.H
......\.....\SPRINTC.OBJ
......\.....\SVGACC.LIB
......\.....\SVGA_NUM.C
......\.....\SVGA_NUM.H
......\.....\SVGA_NUM.OBJ
......\WZQ.PRJ
SVGA.FNT
WZQ
...\BLACK5.HS

...\WHILE5.HS
...\WZQ.PAL

WZQ.DOC
WZQ.EXE
WZQ.ICO
WZQ.PIF

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Gobang
    一个网络五子棋游戏的源代码和文档,输入IP地址即可联网进行对战(The source file and document of a internet gobang game)
    2012-02-15 18:10:28下载
    积分:1
  • 03
    说明:  黑白下棋的吃子算法.规则,对(x,y)坐标进行规则判断,并吃子。(Black and white chess eating algorithms. Rules, rules judge (x, y) coordinates, and eat the child.)
    2012-06-25 18:56:11下载
    积分:1
  • pukepaidama
    扑克牌游戏编程代码 行数不多但功能精确完好(pu ke pai you xi bian cheng dai ma )
    2012-05-04 12:57:07下载
    积分:1
  • ClassOneFight2.0
    参考了这些游戏的创新理念,并且结合自己生活中同学,好友提出的总需求推出了一款更加简单,却异常具有亲和力的类《三国杀》游戏——《一班杀》网络版。使用VS2008编写。(The very popular "Three killed," the puzzle game pushed to an unprecedented height. We have made ​ ​ reference to the innovative ideas of these games, and combined with the students in their own lives, and friends raised the total demand has introduced a more simple, but abnormal affinity class of "Three killed the game-" to kill a group of "online edition.)
    2012-03-09 21:04:05下载
    积分:1
  • Gomoku
    简单五子棋,简单学习算法,很弱的AI,原文是Python语句,现改写位c++(Simple backgammon, simple learning algorithm, very weak AI, the original is a Python statement, is now rewritten bit c++)
    2017-06-19 22:08:12下载
    积分:1
  • Chess
    可联机玩国际象棋,具备倒计时功能以及悔棋等功能(Available on-line play chess, with the countdown function, and Undo functions)
    2009-12-17 23:10:41下载
    积分:1
  • gobangCPP
    C++五子棋代码,有详细的算法注释,代AI算法...可直接运行(C++ gobang game code-with AI。it can work directly)
    2012-07-01 18:32:24下载
    积分:1
  • 五子C++源码
    个人开发五子棋游戏的源代码,利用MFC实现,仅供参考!(personal development renju game's source code, using MFC for reference!)
    2005-06-08 15:31:50下载
    积分:1
  • console
    说明:  象棋马的哈密顿回路算法代码,分治递归的方法。当m n<24时结果正确。这是重新上传,上一次工程中疏漏没有包含源码。(Hamilton horse chess circuit algorithm code, recursive partition method. When mn &lt 24 hours was correct. This is a re-upload, the last project oversight does not include source code.)
    2010-04-14 10:50:12下载
    积分:1
  • 智能象
    说明:  在C#下开发的一个“中国象棋”小游戏,运行环境:win200/win2003/win xp VS.NET2003(in C# developed under a "Chinese Chess" small game, the environment : win200/win2003/win xp VS.NET2003)
    2005-12-16 10:30:11下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载