登录
首页 » DOS » wzq

wzq

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

  • ChinaChess
    中国象棋打谱程序,用java编写吗,很适合java初学者的学习(Chinese Chess playing spectrum program, prepared using java, very suitable for java beginners learning)
    2012-08-24 14:41:52下载
    积分:1
  • PlantomGo
    幻影围棋棋源代码,参加计算机博弈比大赛亚军的代码。(Phantom Go chess source code, to participate in a computer game than the runner-up code.)
    2021-01-20 22:48:43下载
    积分:1
  • MyRussia
    一个全部用c编写的俄罗斯方块程序源代码,内用详细的说明文档。(a c prepared with all of the Russian box program source code used for detailed documentation.)
    2007-05-25 18:49:29下载
    积分:1
  • down
    C++ Builder开发的四川麻将.具有商业游戏的风格.(C++ Builder developed by Sichuan mahjong. With commercial game style.)
    2008-04-21 22:44:51下载
    积分:1
  • Black-Jack
    Juego de Black Jack en Java, Desarrollado como trabajo de la Universidad
    2011-09-25 06:57:00下载
    积分:1
  • java五子
    java的五子棋源码文件!(the source document!)
    2020-06-26 10:00:02下载
    积分:1
  • russiablock
    多人联网对战的俄罗斯方块程序。可以再局域网中进行(Multiplayer Battle Tetris networking programs.)
    2009-10-31 16:16:24下载
    积分:1
  • 完整的四人网络麻将
    实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。(achieve a complete network of four mahjong games, the procedures set server and client functions and integration. This chapter introduces the non-reciprocal network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.)
    2005-06-20 16:32:22下载
    积分:1
  • connectsix
    说明:  简单的实现了六子棋的功能,小白做的,希望大家多多关照。(Simple realization of the six chess function, made by Xiaobai, I hope you care more.)
    2019-05-20 23:32:48下载
    积分:1
  • 91331990five
    一个五子棋的源文件,另外还有设计程序的基本思路和玩法(Gobang a source file, as well as the design process of the basic thinking and playing)
    2008-06-24 23:17:25下载
    积分:1
  • 696524资源总数
  • 103816会员总数
  • 64今日下载