登录
首页 » DOS » wzq

wzq

于 2021-01-15 发布 文件大小:425KB
0 478
下载积分: 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 个回复

  • game_five-in-a-row
    游戏五子棋,简单实现了两人对战的模式。可以建立连接也可以断开连接。游戏结束会自动给出输赢结果(Playing backgammon, a simple realization two players mode. You can establish a connection can be disconnected. End of the game will automatically give winners and losers)
    2013-11-10 15:58:59下载
    积分:1
  • VC++
    残缺棋盘问题的VC++实现,用分而治之方法解决此问题(Defective chessboard problem VC++ Realize, using divide and conquer method to solve this problem)
    2008-02-25 16:11:23下载
    积分:1
  • eleeye
    著名象棋软件象棋巫师源代码。循序渐进实现象棋巫师。(Famous chess wizard chess software source code. Progressive realization of chess wizard.)
    2021-01-09 21:18:56下载
    积分:1
  • WuZiQi
    两个五子棋代码,一个简单的控制台下棋代码,一个图形界面人机对弈,AI采用了一步估分,可以简单对弈了(Two 331 code, a simple console chess code, a graphical interface for man-machine chess, AI uses step by Gufen, simple chess)
    2013-03-25 17:35:35下载
    积分:1
  • XTG-Game-Five
    一个成熟的网上五子期代码,使用层次化开发,都为控件方式,可进行扩充.(a maturity period of five children online code, the use of level of development, to have control, can be expanded.)
    2007-03-23 15:08:14下载
    积分:1
  • llk
    VC++ 6.0开发的游戏大厅,采用C/S模式,里面包含一个连连看游戏。(VC++ 6.0 developers of the game hall, with C/S model, which includes a Lianliankan game.)
    2020-12-09 11:59:19下载
    积分:1
  • Game
    小游戏集合 五子棋+黑白棋+俄罗斯方块+井字游戏(game)
    2010-11-05 10:43:45下载
    积分:1
  • DriectX 2D引擎
    windows下的一套棋牌游戏的代码,源码设置了多个拓展接口方面各个功能的二次开发(Windows under a set of board and card game code, the source code set up a number of expansion interface aspects of the secondary development of various functions)
    2019-05-05 11:36:22下载
    积分:1
  • calibration
    This project is camera calibration using chess board.
    2015-04-29 20:09:07下载
    积分:1
  • EJXQ
    人机象棋也可以人人对战,有一份管理象棋走法策略的类(Man-machine chess can play against everyone, the class of the chess moves of a management strategy)
    2012-06-07 17:24:08下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载