登录
首页 » C# » FivesChess

FivesChess

于 2014-03-28 发布 文件大小:506KB
0 352
下载积分: 1 下载次数: 2

代码说明:

  由于五子棋比一字棋难,规则多,又有禁手限制,无法采用简单的搜索和加分方式。 为了分清各种情况的轻重缓急,我们采用一次性打分的策略: 对棋盘上的每个空位根据情况的轻重缓急,越重越争分越高,反之越低,然后根据打分找出分值最高的的位置下子。(Since backgammon difficult than the word chess, rules and more restrictions have cut hand, you can not use a simple search and processing of ways. In order to prioritize a variety of situations, we use a one-time scoring strategy: for each vacancy on the board in accordance with the priorities of the situation, the more weight the more indisputable points higher, whereas the lower, and then find the highest score according to the scoring Location erupted.)

文件列表:

FivesChess
..........\bin
..........\...\Debug


..........\...\.....\FivesChess.application,1574,2008-11-23
..........\...\.....\FivesChess.exe,191488,2008-11-23
..........\...\.....\FivesChess.exe.manifest,5125,2008-11-23
..........\...\.....\FivesChess.pdb,58880,2008-11-23
..........\...\.....\FivesChess.vshost.application,1574,2008-11-23
..........\...\.....\FivesChess.vshost.exe,14328,2014-03-27

..........\...\Release
..........\...\.......\FivesChess.application,1574,2008-11-22
..........\...\.......\FivesChess.exe,191488,2008-11-23
..........\...\.......\FivesChess.exe.manifest,5125,2008-11-22
..........\...\.......\FivesChess.pdb,44544,2008-11-22


..........\FivesChess.csproj,6615,2008-11-22
..........\FivesChess.csproj.user,632,2008-11-22

..........\FivesChess.sln,909,2008-11-22
..........\Form1.cs,26240,2009-02-11
..........\Form1.Designer.cs,9214,2008-11-23
..........\Form1.resx,218330,2008-11-23
..........\FormAbout.cs,368,2009-02-11
..........\FormAbout.Designer.cs,2862,2009-02-11
..........\FormAbout.resx,22645,2009-02-11
..........\FormSet.cs,690,2008-11-23
..........\FormSet.Designer.cs,4890,2008-11-22
..........\FormSet.resx,5814,2008-11-22
..........\obj
..........\...\Debug



..........\...\.....\FivesChess.application,1574,2008-11-23
..........\...\.....\FivesChess.csproj.FileListAbsolute.txt,5882,2014-03-27
..........\...\.....\FivesChess.csproj.GenerateResource.Cache,969,2009-02-11
..........\...\.....\FivesChess.exe,191488,2008-11-23
..........\...\.....\FivesChess.exe.manifest,5125,2008-11-23
..........\...\.....\FivesChess.Form1.resources,142341,2014-03-26
..........\...\.....\FivesChess.FormAbout.resources,11785,2014-03-26
..........\...\.....\FivesChess.FormSet.resources,180,2014-03-26
..........\...\.....\FivesChess.pdb,58880,2008-11-23
..........\...\.....\FivesChess.Properties.Resources.resources,180,2014-03-26
..........\...\.....\Refactor
..........\...\.....\TempPE

..........\...\Release
..........\...\.......\FivesChess.application,1574,2008-11-22
..........\...\.......\FivesChess.csproj.FileListAbsolute.txt,1279,2008-11-22
..........\...\.......\FivesChess.csproj.GenerateResource.Cache,969,2008-11-22
..........\...\.......\FivesChess.exe,162816,2008-11-22
..........\...\.......\FivesChess.exe.manifest,5125,2008-11-22
..........\...\.......\FivesChess.Form1.resources,134488,2008-11-22
..........\...\.......\FivesChess.FormAbout.resources,180,2008-11-22
..........\...\.......\FivesChess.FormSet.resources,180,2008-11-22
..........\...\.......\FivesChess.pdb,44544,2008-11-22
..........\...\.......\FivesChess.Properties.Resources.resources,180,2008-11-22
..........\...\.......\TempPE
..........\Program.cs,491,2008-11-22
..........\Properties
..........\..........\AssemblyInfo.cs,1360,2008-11-19
..........\..........\Resources.Designer.cs,2870,2008-11-19
..........\..........\Resources.resx,5612,2008-11-19
..........\..........\Settings.Designer.cs,1095,2008-11-19
..........\..........\Settings.settings,249,2008-11-19

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

发表评论

0 个回复

  • stockfish-6-win
    stockfish 国际象棋引擎6.0源码。最近2015年所有比赛均排名第一,等级分达3316分。注释详细,是学习分析棋类AI最好源码。(Stockfish is a free UCI chess engine )
    2015-09-20 13:16:35下载
    积分:1
  • 2017-密集高速铁路网的集约供电方式研究-科研需求
    预测由于不同规模配电网的安全边界数差异往往较大,且单个安全边界约束中通常存在着多个变量(dacvfc sdvs svsv fhty jgjdg dfsqwv wdas WDFQ FDWQF WFAF GTR EQFD FE efd an is quanty)
    2017-07-03 09:46:18下载
    积分:1
  • 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
  • wuziqi
    五子棋小程序,基于MFC的编程,简单的小程序(Backgammon program, based MFC)
    2012-12-09 15:56:37下载
    积分: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
  • gobang
    五子棋人机对战,有悔棋功能,判断输赢,欢迎同学们交流学习(Gobang man-machine to war, have the Undo function, determine the winners and losers, welcome the exchange of learning)
    2015-03-25 16:11:22下载
    积分:1
  • wuziqi
    中科院大学的C++高级编程作业,可人机对战的五子棋程序。(C++ advanced programming job at the University of Chinese Academy of Sciences, the man-machine war of 331 procedures.)
    2020-12-05 10:19:27下载
    积分:1
  • 小游戏_翻纸牌
    说明:  今天要带来一个EXCEL10分钟小游戏翻卡牌,相信很多人都玩过这个记忆力小游戏,在一个区域内点击卡牌显示内容,将两张一样的卡牌找出来。如果连续翻出的两张卡牌不一样,则会在显示一段时间后翻回去,这个游戏用EXCEL实现起来还是蛮简单的,只要10分钟左右(oday, we will bring a little game of excel10 minutes to flip cards. I believe many people have played this memory game. Click the card in one area to display the content and find out the two same cards. If the two cards turned out in succession are not the same, they will turn back after displaying for a period of time. This game is easy to implement with Excel, only about 10 minutes)
    2020-03-11 13:48:17下载
    积分:1
  • NoGo
    基于C++的不围棋程序,游戏规则与围棋正好相反,在window7环境下采用visual studio 2013开发。(A C++ based NoGo computer game program, developed with Visual Studio 2013 in windows7.)
    2021-04-04 19:49:04下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载