Android移动应用开发 贪吃蛇小游戏

上传者: m0_58745481 | 上传时间: 2024-05-27 13:53:18 | 文件大小: 513KB | 文件类型: ZIP
内容概要: 本资源是基于Android移动应用开发,用Android studio实现的期末作业,贪吃蛇小游戏。功能比较少,玩家可通过相应功能按键实现小游戏运行,碰到墙壁游戏结束 所使用配置: 1. Android studio 2022 Electric Eel(2022.1.1 RC 3) 2. SDK : API 22:Android 5.1(Lollipop) 3. JDK :jdk18 4. 语言:Java 如果配置不同导致不通过,可以直接复制粘贴main文件夹尝试使用,也可参照代码粘贴相应布局、Java代码和资源文件等进行使用。 适合人群: 初学Android 移动应用开发者 涉及知识点: 视图重绘,canvas,自定义对话框,布局等 建议和说明: 代码仅供初学者参考,对于有一定学习时长的入门者无参考价值,通过完整项目可体会到一些简单的应用开发思路和解决方法,涉及到一些简单的知识点,关于数据库,广播,内容接收者,服务,内容提供者等没有涉及。由于水平有限,可能存在一定问题,欢迎指正。

文件下载

资源详情

[{"title":"( 47 个子文件 513KB ) Android移动应用开发 贪吃蛇小游戏","children":[{"title":"Snake","children":[{"title":"gradle.properties <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 57.82KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app","children":[{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"snake","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 748B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"snake","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 378B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"snake","children":[{"title":"sounds","children":[{"title":"PlaySound.java <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"roles","children":[{"title":"Snake.java <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false},{"title":"Food.java <span style='color:#111;'> 838B </span>","children":null,"spread":false}],"spread":true},{"title":"activities","children":[{"title":"GameStart.java <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 593B </span>","children":null,"spread":false}],"spread":false},{"title":"components","children":[{"title":"OverDialog.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"enums","children":[{"title":"State.java <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"Direction.java <span style='color:#111;'> 88B </span>","children":null,"spread":false}],"spread":false},{"title":"views","children":[{"title":"MainCanvasView.java <span style='color:#111;'> 754B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"drawable-v24","children":null,"spread":false},{"title":"values-land","children":[{"title":"dimens.xml <span style='color:#111;'> 66B </span>","children":null,"spread":false}],"spread":true},{"title":"values-w600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 66B </span>","children":null,"spread":false}],"spread":true},{"title":"values-night","children":[{"title":"themes.xml <span style='color:#111;'> 807B </span>","children":null,"spread":false}],"spread":true},{"title":"xml","children":[{"title":"data_extraction_rules.xml <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"backup_rules.xml <span style='color:#111;'> 478B </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"dimens.xml <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"themes.xml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_game_start.xml <span style='color:#111;'> 7.27KB </span>","children":null,"spread":false},{"title":"over_dialog.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 832B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"icon.gif <span style='color:#111;'> 135.45KB </span>","children":null,"spread":false},{"title":"bt_right.xml <span style='color:#111;'> 1013B </span>","children":null,"spread":false},{"title":"button_normal.xml <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"bt_down.xml <span style='color:#111;'> 1013B </span>","children":null,"spread":false},{"title":"over_dialog.xml <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"bt_up.xml <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"bt_left.xml <span style='color:#111;'> 1013B </span>","children":null,"spread":false},{"title":"background.xml <span style='color:#111;'> 349B </span>","children":null,"spread":false}],"spread":false},{"title":"raw","children":[{"title":"click.wav <span style='color:#111;'> 19.57KB </span>","children":null,"spread":false},{"title":"eat.wav <span style='color:#111;'> 48.87KB </span>","children":null,"spread":false},{"title":"over.wav <span style='color:#111;'> 468.79KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-w1240dp","children":[{"title":"dimens.xml <span style='color:#111;'> 67B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-rules.pro <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"sampledata","children":null,"spread":false}],"spread":true},{"title":"gradlew.bat <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 322B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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