文件名称:Gobang
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.35mb
- 下载次数:
- 0次
- 提 供 者:
- 杨*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
由于五子棋比一字棋难,规则多,又有禁手限制,无法采用简单的搜索和加分方式。
为了分清各种情况的轻重缓急,我们采用一次性打分的策略:
对棋盘上的每个空位根据情况的轻重缓急,越重越争分越高,反之越低,然后根据打分找出分值最高的的位置下子。
打分事实根据有:是否赢棋(最高),对方是否要赢棋,是否禁手,可形成四连的个数,和形成三连(包括活三)的个数,对方可可形成四连的个数,和形成三连(包括活三)的个数,等等。
本算法的好处在于,既有攻又有守,而且攻守较严。-Gobang difficult than chess because of the word, rules and more restrictions there are cut-off hand can not be a simple way of search and processing points. The advantage of this algorithm, both have defensive attack, but more stringent attack and defense.
为了分清各种情况的轻重缓急,我们采用一次性打分的策略:
对棋盘上的每个空位根据情况的轻重缓急,越重越争分越高,反之越低,然后根据打分找出分值最高的的位置下子。
打分事实根据有:是否赢棋(最高),对方是否要赢棋,是否禁手,可形成四连的个数,和形成三连(包括活三)的个数,对方可可形成四连的个数,和形成三连(包括活三)的个数,等等。
本算法的好处在于,既有攻又有守,而且攻守较严。-Gobang difficult than chess because of the word, rules and more restrictions there are cut-off hand can not be a simple way of search and processing points. The advantage of this algorithm, both have defensive attack, but more stringent attack and defense.
相关搜索: 一字棋
(系统自动生成,下载前可以参看下载内容)
下载文件列表
全面的五子棋\五子棋.doc
............\可执行文件\black.bmp
............\..........\board.bmp
............\..........\FivesChess.exe
............\..........\Thumbs.db
............\..........\white.bmp
............\源代码\FivesChess\bin\Debug\black.bmp
............\......\..........\...\.....\board.bmp
............\......\..........\...\.....\FivesChess.application
............\......\..........\...\.....\FivesChess.exe
............\......\..........\...\.....\FivesChess.exe.manifest
............\......\..........\...\.....\FivesChess.pdb
............\......\..........\...\.....\FivesChess.vshost.application
............\......\..........\...\.....\FivesChess.vshost.exe
............\......\..........\...\.....\white.bmp
............\......\..........\...\Release\FivesChess.application
............\......\..........\...\.......\FivesChess.exe
............\......\..........\...\.......\FivesChess.exe.manifest
............\......\..........\...\.......\FivesChess.pdb
............\......\..........\black.bmp
............\......\..........\board.bmp
............\......\..........\FivesChess.csproj
............\......\..........\FivesChess.csproj.user
............\......\..........\FivesChess.ico
............\......\..........\FivesChess.sln
............\......\..........\FivesChess.suo
............\......\..........\Form1.cs
............\......\..........\Form1.Designer.cs
............\......\..........\Form1.resx
............\......\..........\FormAbout.cs
............\......\..........\FormAbout.Designer.cs
............\......\..........\FormAbout.resx
............\......\..........\FormSet.cs
............\......\..........\FormSet.Designer.cs
............\......\..........\FormSet.resx
............\......\..........\obj\Debug\black.bmp
............\......\..........\...\.....\board.bmp
............\......\..........\...\.....\cat.bmp
............\......\..........\...\.....\FivesChess.application
............\......\..........\...\.....\FivesChess.csproj.FileListAbsolute.txt
............\......\..........\...\.....\FivesChess.csproj.GenerateResource.Cache
............\......\..........\...\.....\FivesChess.exe
............\......\..........\...\.....\FivesChess.exe.manifest
............\......\..........\...\.....\FivesChess.Form1.resources
............\......\..........\...\.....\FivesChess.FormAbout.resources
............\......\..........\...\.....\FivesChess.FormSet.resources
............\......\..........\...\.....\FivesChess.pdb
............\......\..........\...\.....\FivesChess.Properties.Resources.resources
............\......\..........\...\.....\white.bmp
............\......\..........\...\Release\FivesChess.application
............\......\..........\...\.......\FivesChess.csproj.FileListAbsolute.txt
............\......\..........\...\.......\FivesChess.csproj.GenerateResource.Cache
............\......\..........\...\.......\FivesChess.exe
............\......\..........\...\.......\FivesChess.exe.manifest
............\......\..........\...\.......\FivesChess.Form1.resources
............\......\..........\...\.......\FivesChess.FormAbout.resources
............\......\..........\...\.......\FivesChess.FormSet.resources
............\......\..........\...\.......\FivesChess.pdb
............\......\..........\...\.......\FivesChess.Properties.Resources.resources
............\......\..........\Program.cs
............\......\..........\...perties\AssemblyInfo.cs
............\......\..........\..........\Resources.Designer.cs
............\......\..........\..........\Resources.resx
............\......\..........\..........\Settings.Designer.cs
............\......\..........\..........\Settings.settings
............\......\..........\white.bmp
............\......\readme.txt
............\......\FivesChess\obj\Debug\Refactor
............\......\..........\...\.....\TempPE
............\......\..........\...\Release\TempPE
............\......\..........\bin\Debug
............\......\..........\...\Release
............\......\..........\obj\Debug
............\......\..........\...\Release
............\......\..........\bin
.....
............\可执行文件\black.bmp
............\..........\board.bmp
............\..........\FivesChess.exe
............\..........\Thumbs.db
............\..........\white.bmp
............\源代码\FivesChess\bin\Debug\black.bmp
............\......\..........\...\.....\board.bmp
............\......\..........\...\.....\FivesChess.application
............\......\..........\...\.....\FivesChess.exe
............\......\..........\...\.....\FivesChess.exe.manifest
............\......\..........\...\.....\FivesChess.pdb
............\......\..........\...\.....\FivesChess.vshost.application
............\......\..........\...\.....\FivesChess.vshost.exe
............\......\..........\...\.....\white.bmp
............\......\..........\...\Release\FivesChess.application
............\......\..........\...\.......\FivesChess.exe
............\......\..........\...\.......\FivesChess.exe.manifest
............\......\..........\...\.......\FivesChess.pdb
............\......\..........\black.bmp
............\......\..........\board.bmp
............\......\..........\FivesChess.csproj
............\......\..........\FivesChess.csproj.user
............\......\..........\FivesChess.ico
............\......\..........\FivesChess.sln
............\......\..........\FivesChess.suo
............\......\..........\Form1.cs
............\......\..........\Form1.Designer.cs
............\......\..........\Form1.resx
............\......\..........\FormAbout.cs
............\......\..........\FormAbout.Designer.cs
............\......\..........\FormAbout.resx
............\......\..........\FormSet.cs
............\......\..........\FormSet.Designer.cs
............\......\..........\FormSet.resx
............\......\..........\obj\Debug\black.bmp
............\......\..........\...\.....\board.bmp
............\......\..........\...\.....\cat.bmp
............\......\..........\...\.....\FivesChess.application
............\......\..........\...\.....\FivesChess.csproj.FileListAbsolute.txt
............\......\..........\...\.....\FivesChess.csproj.GenerateResource.Cache
............\......\..........\...\.....\FivesChess.exe
............\......\..........\...\.....\FivesChess.exe.manifest
............\......\..........\...\.....\FivesChess.Form1.resources
............\......\..........\...\.....\FivesChess.FormAbout.resources
............\......\..........\...\.....\FivesChess.FormSet.resources
............\......\..........\...\.....\FivesChess.pdb
............\......\..........\...\.....\FivesChess.Properties.Resources.resources
............\......\..........\...\.....\white.bmp
............\......\..........\...\Release\FivesChess.application
............\......\..........\...\.......\FivesChess.csproj.FileListAbsolute.txt
............\......\..........\...\.......\FivesChess.csproj.GenerateResource.Cache
............\......\..........\...\.......\FivesChess.exe
............\......\..........\...\.......\FivesChess.exe.manifest
............\......\..........\...\.......\FivesChess.Form1.resources
............\......\..........\...\.......\FivesChess.FormAbout.resources
............\......\..........\...\.......\FivesChess.FormSet.resources
............\......\..........\...\.......\FivesChess.pdb
............\......\..........\...\.......\FivesChess.Properties.Resources.resources
............\......\..........\Program.cs
............\......\..........\...perties\AssemblyInfo.cs
............\......\..........\..........\Resources.Designer.cs
............\......\..........\..........\Resources.resx
............\......\..........\..........\Settings.Designer.cs
............\......\..........\..........\Settings.settings
............\......\..........\white.bmp
............\......\readme.txt
............\......\FivesChess\obj\Debug\Refactor
............\......\..........\...\.....\TempPE
............\......\..........\...\Release\TempPE
............\......\..........\bin\Debug
............\......\..........\...\Release
............\......\..........\obj\Debug
............\......\..........\...\Release
............\......\..........\bin
.....