wuziqi五子棋源码.rar

上传者: lihouyi | 上传时间: 2021-03-16 18:08:45 | 文件大小: 91KB | 文件类型: RAR
本APP很传统,属于单机游戏,借鉴了原有五子棋游戏并加以改进,主要的设计亮度有: (1)使用自定义View:这是我接触Android以来,第一次使用自定义View,它可以绘制棋盘、棋子; (2)尺寸的判断与设置; (3)棋子是与用户交互之后才绘制上去的,需要重写OnTouchEvent; (4)针对五子连珠的四种情形(横、竖、左斜、右斜)设计出相应的判断算法。

文件下载

资源详情

[{"title":"( 27 个子文件 91KB ) wuziqi五子棋源码.rar","children":[{"title":"wuziqi","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 681B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"five_game_view.xml <span style='color:#111;'> 838B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"new_green_point.png <span style='color:#111;'> 23.89KB </span>","children":null,"spread":false},{"title":"red_point.png <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"yellow_point.png <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"green_point.png <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false},{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"new_red_point.png <span style='color:#111;'> 23.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 456B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"five","children":[{"title":"itcast","children":[{"title":"cn","children":[{"title":"MainActivity.java <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"Chessboard.java <span style='color:#111;'> 10.99KB </span>","children":null,"spread":false},{"title":"Point.java <span style='color:#111;'> 682B </span>","children":null,"spread":false},{"title":"IChessboard.java <span style='color:#111;'> 255B </span>","children":null,"spread":false},{"title":"player","children":[{"title":"concrete","children":[{"title":"ZhuBaJieAi.java <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"HumanPlayer.java <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"SunWuKongAi.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"interfaces","children":[{"title":"IPlayer.java <span style='color:#111;'> 392B </span>","children":null,"spread":false}],"spread":true},{"title":"base","children":[{"title":"BaseComputerAi.java <span style='color:#111;'> 24.24KB </span>","children":null,"spread":false},{"title":"BasePlayer.java <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false}],"spread":false},{"title":"AiFactory.java <span style='color:#111;'> 691B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"default.properties <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 86B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"five","children":[{"title":"itcast","children":[{"title":"cn","children":[{"title":"R.java <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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