c#版五子棋(人机对弈模式)

上传者: starstarstone | 上传时间: 2019-12-21 21:10:08 | 文件大小: 95KB | 文件类型: rar
最近在学习C#,写了个五子棋的小游戏,把原代码也传给大家。 电脑选择下棋点的主要算法分为两部:1.将每个落子点进行评分(有棋或禁手点评为最低);2.从第一部中选出5个得分最高的落子点,采用回溯算法求得最佳落子点。(代码中有注释) 希望大家有什么建议或者发现了Bug告诉我啊! 我这几天有时间会进一步完善这个小游戏,到时再传上来。

文件下载

资源详情

[{"title":"( 30 个子文件 95KB ) c#版五子棋(人机对弈模式)","children":[{"title":"五子棋","children":[{"title":"五子棋.suo <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false},{"title":"五子棋.sln <span style='color:#111;'> 916B </span>","children":null,"spread":false},{"title":"五子棋","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 10.52KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"五子棋.csproj <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"五子棋.exe <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"五子棋.pdb <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"五子棋.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"五子棋.Properties.Resources.resources <span style='color:#111;'> 7.32KB </span>","children":null,"spread":false},{"title":"五子棋.csproj.GenerateResource.Cache <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"五子棋.csproj.FileList.txt <span style='color:#111;'> 282B </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"五子棋.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"五子棋.exe <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"五子棋.pdb <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 44.49KB </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"lastblackstone.gif <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"五子棋图标.ico <span style='color:#111;'> 10.22KB </span>","children":null,"spread":false},{"title":"lastwhitestone.gif <span style='color:#111;'> 959B </span>","children":null,"spread":false},{"title":"null.gif <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"whitestone.gif <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"blackstone.gif <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"五子棋图标.ico <span style='color:#111;'> 10.22KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 7.04KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qq_37136973 :
    很好很强大
    2018-04-17
  • 棋圣 :
    满意 不错 学习
    2015-12-04
  • bolonwar :
    不错的资源,学习中
    2014-06-26
  • u014514481 :
    很好,很实用。
    2014-05-22
  • sysxzhdr :
    不错 不够智能
    2014-05-16

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明