登录
首页 » DOS » wzq

wzq

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

  • chess
    中国象棋 重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。( Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
    2013-12-17 09:10:12下载
    积分:1
  • chinaxq
    中国象棋网络版,本人写了将近一个月才完成的,部分是参考网上的.(Chinese Chess online version, I wrote almost a month to complete, partly with reference to the web.)
    2007-12-10 16:00:20下载
    积分:1
  • Chess
    说明:  LABVIEW编写的围棋游戏,具备围棋的基本规则(Go play written LABVIEW)
    2011-02-23 15:51:15下载
    积分:1
  • 1
    说明:  关于麻将机的原理以及机械结构,还有就是改良计划(About mahjong machine principle and mechanical structure, there is improvement programs)
    2013-11-10 22:40:04下载
    积分:1
  • MyChess5
    用API实现的五子棋程序,人人版,对C++API程序的初学者应该有一定的帮助(Backgammon program with the API implementation, all versions of C++ API program should be helpful for beginners)
    2011-11-18 10:56:24下载
    积分:1
  • xiangqi
    c++的象棋代码,里面有代码,调试成功,运行很好,我编写了将近一个月,是深入c++最好的资料,大家可以改一改,用于自己的项目。。。(C++ chess code, debugging success, there are code, running very well, I write nearly a month, is deeply c++ the best information, you can change, for their own projects... )
    2013-12-02 23:36:59下载
    积分:1
  • 五子
    说明:  在一个方阵上通过两人对弈的形式,依次在棋盘上放置两种颜色的棋子,哪一方先让五个棋子形成一条直线(包括横、竖、对角线3个方向),即为获胜,本程序实现用键盘控制的五子棋游戏。游戏初始运行界面应为如下:(In the form of two people playing chess in a square array, place two kinds of color pieces on the chessboard in turn. Which side first makes five pieces form a straight line (including three directions of horizontal, vertical and diagonal), that is to win. This program realizes the game of five pieces controlled by keyboard. The initial operation interface of the game shall be as follows:)
    2019-11-24 18:31:32下载
    积分:1
  • Checker
    经典的西洋跳棋程序。 运用机器学习方法实现人机对弈。 方便大家学习。(Classic checkers program. The use of machine learning methods to achieve human-computer chess. To facilitate them to learn.)
    2020-11-16 06:29:46下载
    积分: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
  • 64574563464
    易语言简易五子棋源码,游戏编程,很好的参考资料。有需要的下。(Easy language simple Gobang source, game programming, a good reference. There is a need to the next.)
    2013-10-07 13:54:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载