GoBang:这是一个简单的五子棋项目,实现了包括人人对战和人机对战两种模式,并配有相应的博客对整个实现过程进行解释

上传者: 42123237 | 上传时间: 2021-06-03 14:16:53 | 文件大小: 4.97MB | 文件类型: ZIP
GoBang 这是简单的五子棋项目。它采用的编程软件是Eclipse。 其中GoBangAI工程采用的是手绘棋盘和棋子的方式。而GoBangAI2则采用了添加棋盘和棋子图片的方法。界面最漂亮的是GoBang3,后期做了不少界面的优化。每一个工程都可以独立运行起来。 实现了人人对战和人机对战两种模式。其中人机对战是采用权值法实现的。 在使用时,需要点击“开始新游戏”的按钮才能在棋盘上下棋。每次重新选择完“人人对战”或“人机对战”的模式之后需要再重新点击一次“开始新游戏”。 需要了解整个项目的实现过程,请参考我的博客: 里面一共有三篇,分别介绍了实现这个项目的全过程和一些细节信息

文件下载

资源详情

[{"title":"( 81 个子文件 4.97MB ) GoBang:这是一个简单的五子棋项目,实现了包括人人对战和人机对战两种模式,并配有相应的博客对整个实现过程进行解释","children":[{"title":"GoBang-master","children":[{"title":"GoBangAI2","children":[{"title":"white.png <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"ButtonListener.java <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"frameListener.java <span style='color:#111;'> 16.41KB </span>","children":null,"spread":false},{"title":"ChessPosition.java <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"GoBangframe.java <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"GoBangconfig.java <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":true},{"title":"chessboard.jpg <span style='color:#111;'> 48.55KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 584B </span>","children":null,"spread":false}],"spread":true},{"title":"chessboard1.png <span style='color:#111;'> 15.25KB </span>","children":null,"spread":false},{"title":"black.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"ChessPosition.class <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"frameListener.class <span style='color:#111;'> 9.55KB </span>","children":null,"spread":false},{"title":"ButtonListener.class <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"GoBangframe.class <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false},{"title":"GoBangconfig.class <span style='color:#111;'> 617B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"GoBang3","children":[{"title":".project <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"User.java <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"MyJPanel.java <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"ButtonListener.java <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"frameListener.java <span style='color:#111;'> 15.88KB </span>","children":null,"spread":false},{"title":"LoginUI.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"ChessPosition.java <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"GoBangframe.java <span style='color:#111;'> 7.16KB </span>","children":null,"spread":false},{"title":"GoBangconfig.java <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"pic","children":[{"title":"white.png <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"Battle2.png <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"Button.png <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"LoginButton.png <span style='color:#111;'> 18.67KB </span>","children":null,"spread":false},{"title":"PlayButton.png <span style='color:#111;'> 17.48KB </span>","children":null,"spread":false},{"title":"UserPicture.png <span style='color:#111;'> 85.46KB </span>","children":null,"spread":false},{"title":"LoseButton.png <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false},{"title":"BackButton.png <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"LoginPicture2.png <span style='color:#111;'> 474.29KB </span>","children":null,"spread":false},{"title":"UserName.png <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false},{"title":"UserSex.png <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"UserLevel.png <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"StartButton.png <span style='color:#111;'> 7.11KB </span>","children":null,"spread":false},{"title":"ChessBoard.jpg <span style='color:#111;'> 2.88MB </span>","children":null,"spread":false},{"title":"black.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"Battle1.png <span style='color:#111;'> 6.68KB </span>","children":null,"spread":false},{"title":"MessagePictrue.jpg <span style='color:#111;'> 88.31KB </span>","children":null,"spread":false},{"title":"LoginPicture.jpg <span style='color:#111;'> 308.03KB </span>","children":null,"spread":false}],"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 13.05KB </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 710B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 254B </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 587B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"User.class <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"ChessPosition.class <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"LoginUI.class <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"MyJPanel.class <span style='color:#111;'> 635B </span>","children":null,"spread":false},{"title":"frameListener.class <span style='color:#111;'> 8.45KB </span>","children":null,"spread":false},{"title":"ButtonListener.class <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"GoBangframe.class <span style='color:#111;'> 7.04KB </span>","children":null,"spread":false},{"title":"GoBangconfig.class <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"out","children":[{"title":"production","children":[{"title":"GoBang3","children":[{"title":"User.class <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"ChessPosition.class <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"LoginUI.class <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"MyJPanel.class <span style='color:#111;'> 635B </span>","children":null,"spread":false},{"title":"frameListener.class <span style='color:#111;'> 9.09KB </span>","children":null,"spread":false},{"title":"ButtonListener.class <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"GoBangframe.class <span style='color:#111;'> 7.22KB </span>","children":null,"spread":false},{"title":"GoBangconfig.class <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"GoBangAI","children":[{"title":".project <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"ButtonListener.java <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"frameListener.java <span style='color:#111;'> 16.39KB </span>","children":null,"spread":false},{"title":"ChessPosition.java <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"GoBangframe.java <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"GoBangconfig.java <span style='color:#111;'> 144B </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 584B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"ChessPosition.class <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"frameListener.class <span style='color:#111;'> 9.67KB </span>","children":null,"spread":false},{"title":"ButtonListener.class <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"GoBangframe.class <span style='color:#111;'> 5.94KB </span>","children":null,"spread":false},{"title":"GoBangconfig.class <span style='color:#111;'> 250B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"操作指南.doc <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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