登录
首页 » DOS » wzq

wzq

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

  • FiveChess
    五子棋,建立一个棋盘,黑白方相互对下,判断输赢!(fivechess)
    2010-12-30 19:31:52下载
    积分:1
  • AI_project_2011
    四子棋的AI程序,采用alpha_beta剪枝实现,采用的数据结构极为简单(Four sons chess AI programs, the use of alpha_beta pruning achieved using very simple data structure)
    2021-04-27 23:08:44下载
    积分:1
  • c5
    Function: // riffle Description: // 洗牌,然后随机的得到9张牌,要求九张牌不能有重复. Calls: // Called By: // main() Table Accessed: //被修改的表(此项仅对于牵扯到数据库操作的程序) Table Updated: // 被修改的表(此项仅对于牵扯到数据库操作的程序) Input: //Card card[] 牌结构, int size 结构数组的大小 Output: //(Function:// riffle Description:// shuffle, and then randomly get nine cards, requiring nine cards can not be duplicated. Calls:// Called By:// main () Table Accessed:// modified table ( This only involves the operation of the database for the program) Table Updated:// modified table (this only involves the operation of the database for the program) Input:// Card card [] licensing structure, int size structure of the array size Output ://)
    2013-07-23 06:35:33下载
    积分:1
  • Java-Chess-0.1.0pre-alpha2
    一个java做的国际象棋小游戏.是一个功能完善的chess小游戏,快来看看吧(do a java small international chess game. One function is the perfect small chess games, Come see exciting! !)
    2004-12-06 14:33:45下载
    积分:1
  • java-FiveChess
    五子棋游戏 游戏开始要求: 输出一下棋盘,然后提示黑方和白方下子,玩家从 命令行输入:af,表示在af坐标落子,其中黑方的 子用@表示,白方子用O表示,每一方有一方落子, 则要重新输出棋盘的状态,程序还要求能判断某一方 获胜并终止程序。(Backgammon games started to demand: output about the board, and then prompted Black and White Now, players from the command line enter: af, af coordinates expressed in the Laozi, in which a child with @ Black said Bai Fangzi with O that each Lazi one one side, the state will have to re-output board, the program also required to determine the winning party and terminate the program.)
    2011-06-04 22:52:10下载
    积分:1
  • FiveChess
    five chess is a funny game(five chess)
    2013-02-28 23:04:23下载
    积分:1
  • wuziqi
    java五子棋程序源代码实现重新开始 自动判断输赢(backgammon java source code to achieve re-start automatically determine the winners and losers)
    2009-12-19 10:28:51下载
    积分:1
  • wuziqi
    这是一段人与电脑下五子棋的程序,人H代表人,C代表电脑(This is a man with a computer under 331 procedures, human H representative, C for computer)
    2013-10-16 23:00:24下载
    积分:1
  • pairs
    qt小游戏,翻扑克牌,每次最多翻两张,两个牌相同就移除,直到所有牌都移除完。考记忆力(qt games, turned poker, each up to turn two, two identical cards to remove, until all the cards are removed finish. Memory test)
    2013-06-03 09:09:04下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载