Android-TicTacToe:适用于 Android 的井字游戏

上传者: 42102272 | 上传时间: 2023-01-07 22:24:50 | 文件大小: 3.56MB | 文件类型: ZIP
Android-井字游戏 顾名思义,这是一款适用于 Android 的井字游戏。 该项目是针对 Android 4.4.2 SDK 构建的,并测试(并专为)我的三星 Galaxy S3。 S3 运行的是 Android 4.3 Jelly Bean。 应用程序界面仅针对 4.7 英寸屏幕设计,但可以通过添加一些额外的 xml 布局文件轻松扩展。 有一个带有简单动画的启动画面,一个游戏选项菜单,在复合相关布局按钮中显示游戏配置。 用户可以作为 O 或 X 与 AI 对手玩简单、中等或困难的游戏。 AI 使用具有 alpha-beta 修剪和色调学的极小极大算法来生成中等或困难游戏的动作。 容易的对手将随机转弯。 如果有获胜的移动可用,AI 玩家将始终采用它。 屏幕只能在 GameActivity 中旋转,其他两个 Activity 屏幕锁定为竖屏。 保存和恢复屏幕旋转状态是通过将游戏状

文件下载

资源详情

[{"title":"( 66 个子文件 3.56MB ) Android-TicTacToe:适用于 Android 的井字游戏","children":[{"title":"Android-TicTacToe-master","children":[{"title":"README.md <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"TicTacToe","children":[{"title":"res","children":[{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 323B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 380B </span>","children":null,"spread":false}],"spread":true},{"title":"layout-land","children":[{"title":"game_activity.xml <span style='color:#111;'> 5.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 212B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 268B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"cross_3.png <span style='color:#111;'> 66.00KB </span>","children":null,"spread":false},{"title":"nought_3.png <span style='color:#111;'> 108.91KB </span>","children":null,"spread":false},{"title":"sq_center.png <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"nought_1.png <span style='color:#111;'> 109.21KB </span>","children":null,"spread":false},{"title":"city_green_predator.png <span style='color:#111;'> 274.43KB </span>","children":null,"spread":false},{"title":"sq_right_center.png <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"sq_top_left.png <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"background.png <span style='color:#111;'> 2.53MB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"sq_top_right.png <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"sq_bottom_center.png <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"sq_top_center.png <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"sq_bottom_left.png <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"launch_icon.png <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"title.png <span style='color:#111;'> 55.23KB </span>","children":null,"spread":false},{"title":"emo_im_happy.png <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"ic_menu_help_holo_light.png <span style='color:#111;'> 721B </span>","children":null,"spread":false},{"title":"emo_im_laughing.png <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"nought_2.png <span style='color:#111;'> 110.86KB </span>","children":null,"spread":false},{"title":"cross_1.png <span style='color:#111;'> 80.00KB </span>","children":null,"spread":false},{"title":"sq_bottom_right.png <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"cross_2.png <span style='color:#111;'> 89.72KB </span>","children":null,"spread":false},{"title":"sq_left_center.png <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"btn_check_on_focused_holo_light.png <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"btn_check_off_focused_holo_light.png <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"emo_im_sad.png <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 195B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"game_activity.xml <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"menu_activity.xml <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"menu_select_button.xml <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"splash_activity.xml <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.ltk.core.refactoring.prefs <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 587B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"timashton","children":[{"title":"tictactoe","children":[{"title":"Constants.java <span style='color:#111;'> 512B </span>","children":null,"spread":false},{"title":"RelativeLayoutButton.java <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"AIPlayer.java <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"enums","children":[{"title":"ListenerTypes.java <span style='color:#111;'> 113B </span>","children":null,"spread":false},{"title":"BoardSquaresState.java <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"Difficulty.java <span style='color:#111;'> 208B </span>","children":null,"spread":false}],"spread":true},{"title":"MenuActivity.java <span style='color:#111;'> 9.56KB </span>","children":null,"spread":false},{"title":"Game.java <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"SplashScreenActivity.java <span style='color:#111;'> 4.47KB </span>","children":null,"spread":false},{"title":"GameActivity.java <span style='color:#111;'> 11.80KB </span>","children":null,"spread":false},{"title":"dialogs","children":[{"title":"MenuDialogFragment.java <span style='color:#111;'> 4.82KB </span>","children":null,"spread":false},{"title":"ListDialogFragment.java <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"EndGameDialogFragment.java <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"lint.xml <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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