登录
首页 » QT » Chess

Chess

于 2016-04-29 发布 文件大小:12KB
0 115
下载积分: 1 下载次数: 4

代码说明:

  QT编写的跨平台中国象棋项目完整代码 (QT chess )

文件列表:

Chess
.....\Board.cpp,12075,2016-01-22
.....\Board.h,2525,2016-01-22
.....\Chess.pro,243,2016-01-22
.....\Chess.pro.user,37167,2016-01-22
.....\main.cpp,477,2016-01-22
.....\NetGame.cpp,1646,2016-01-22
.....\NetGame.h,744,2016-01-22
.....\SingleGame.cpp,4651,2016-01-22
.....\SingleGame.h,596,2016-01-22
.....\Step.cpp,91,2016-01-22
.....\Step.h,304,2016-01-22
.....\Stone.cpp,1339,2016-01-22
.....\Stone.h,351,2016-01-22

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

发表评论

0 个回复

  • wzq
    近来随着计算机的快速发展,各种棋类游戏被纷纷请进了电脑,使得那些喜爱下棋,又常常苦于没有对手的棋迷们能随时过足棋瘾。而且这类软件个个水平颇高,大有与人脑分庭抗礼之势。其中战胜过国际象棋世界冠军-卡斯帕罗夫的“深蓝”便是最具说服力的代表;其它像围棋的“手淡”、象棋的“将族”等也以其优秀的人工智能深受棋迷喜爱;而我们今天将向大家介绍的是五子棋的算法。 当我们与电脑对战时,您知道这些软件是怎样象人脑一样进行思考的吗?前不久我曾编写过一个五子棋的游戏,在这里就以此为例和大家一起探讨探讨。 总的来说(我们假定您熟悉五子棋的基本规则),要让电脑知道该在哪一点下子,就要根据盘面的形势,为每一可能落子的点计算其重要程度,也就是当这子落下后会形成什么棋型(如:“冲四”、“活三”等),然后通览全盘选出最重要的一点,这便是最基本的算法。当然,仅靠当前盘面进行判断是远远不够的,这样下棋很容易掉进玩家设下的陷阱,因为它没有考虑以后的变化。所以在此基础上我们加入递归调用,即:在电脑中预测出今后几步的各种走法,以便作出最佳选择,这也是我们下棋时常说的“想了几步”。如此一来您的程序便具有一定的水平了。 (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)
    2021-01-15 14:48:46下载
    积分:1
  • wzq
    五子棋小程序,实现双人对抗,能完成悔棋,复盘,等基本功能。在玩棋时,能自动判禁手以及判赢。(Gobang small procedures, to achieve double confrontation, to complete悔棋, rehabilitation sites, such as basic features. Playing chess, they can automatically cut the hands and sub-contractors to win.)
    2008-06-26 21:47:09下载
    积分:1
  • three
    这个包括头文件,以及具体的实现函数(This is a chess game, three sons and a chess game, I hope you all like.)
    2012-02-22 18:34:16下载
    积分: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
    五子棋的实验报告 人工智能 包含的内容很丰富,要了很久,师兄才给的。(very good lecture for)
    2012-06-08 23:47:07下载
    积分:1
  • boardgame
    JAVA棋盘程序,以前自己写的,欢迎指正~(JAVA board procedures,please correct me ~)
    2012-07-14 10:42:38下载
    积分: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
  • sdk_dfj
    说明:  一个用SDK写的打飞机游戏 对学SDK很有帮助(an SDK with the aircraft was made to learn the game SDK helpful)
    2006-03-29 22:17:14下载
    积分:1
  • -the-poker-game
    本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。 单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said. Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
    2013-08-19 15:13:48下载
    积分:1
  • five_vb_tcp
    网络VB语言开发的五子棋,工作量是一周的本科毕业设计。(VB language network Gobang development, the workload is one-week graduate design.)
    2008-12-10 14:52:50下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 18今日下载