安卓的五子棋游戏的开发(源码)

1
目 录
Abstract 1
Key words 1
引言 1
1.概述 1
1.1课题研究的意义 1
1.2课题的应用前景 2
1.3课题的主要工作 2
1.2.2研究意义 2
2.主要技术和开发环境 2
2.1Android平台 2
2.1.1什么是安卓平台 2
2.1.2Android平台架构 2
2.2Android开发环境的搭建 3
2.2.1安装JDK 4
2.2.2安装Android SDK 4
2.2.3安装Eclipse 4
2.2.4安装和配置ADT 4
2.3创建AVD模拟器 4
2.3.1什么是AVD 4
2.3.2AVD模拟器的配置过程 5
3系统分析 7
3.1系统可行性分析 7
3.2系统功能分析 8
4.相关算法研究 9
4.1棋盘的主要方法及实现 9
4.2人机AI的设计方法 10
4.2.1算法的主题思想 10
4.2.2AI的具体算法实现 11
4.3重新开始操作 14
4.4悔棋操作 14
5.实际运行情况及截图 15
5.1开始界面 15
5.2游戏界面 15
5.3菜单栏 15
5.4帮助界面 16
5.5悔棋操作 16
5.6重新开始操作 16
5.7双方分出胜负 17
6.软件测试 17
7.总结 31
8.致谢 31
9.参考文献: 31
基于安卓的五子棋游戏的开发
计算机科学与技术专业学生 王珅
指导老师 薛卫
摘要:本文主要介绍了一款基于安卓平台的五子棋游戏的开发设计与实现。论文首先讲述了此次课题研究的意义以及它的应用前景,并解释了此次开发的主要工作。接着 *好棒文|www.hbsrm.com +Q: ^351916072# 
介绍了安卓操作系统、安卓系统的开发环境以及安卓开发环境配置的一系列步骤。接着进行了游戏中的相关功能的算法的研究与解释。最后列出了游戏的实现情况以及各个模块界面的截图。本游戏使用Java语言进行编写,设定了人机对战和人人对战两种模式。人机对战实现的是一些AI的算法,人人对战则是进行输赢方的判定。
The design of fiveinarow game based on Android
Student majoring in Computer Science and Technology Wang Shen
Tutor Xue Wei
Abstract:This paper introduces the design and implementation of fiveinarow game based on Android platform . First of all,it describes the purpose and significance of the research and the prospect of this fiveinarow game, and explains the main work of this design. Then it introduces the Android operating system,the environment of Android development and a series of steps to build the the environment of Android development. Then it studies and explains the relevant algorithm to realize the function of the game . Finally, it lists the situation of this game’s realization and some module interface. This game uses JAVA language to encode, includes the manmachine model and the manman model. The manmachine model includes the algorithm of AI, the manman model is to determine the winner and loser.
Keywords: Android platform, fiveinarow game,Java
引言:随着移动设备的不断普及与发展,相关软件的开发也越来越受到程序员的青睐。目前,移动开发领域以Android的发展最为迅猛,Android是Google公司推出的专为移动设备开发的平台,自2007年推出以来,在短短几年时间里,就撼动了诺基亚Symbian系统的霸主地位,成为全球最受欢迎的智能手机平台。应用Android不仅可以开发在手机获平板电脑等移动设备上运行的工具软件,还以进行2D甚至3D游戏的开发。[1]
本文就介绍了五子棋这一经典游戏在Android平台上的开发过程。
1.概述
1.1课题研究的意义
据资料显示,2013年的第四季度,Android平台手机的全球市场份额已经达到78.1%。2013年09月24日谷歌开发的操作系统Android在迎来了5岁生日,全世界采用这款系统的设备数量已经达到10亿台。2014第一季度Android平台已占所有移动广告流量来源的42.8%,首度超越iOS。这些数据表明安卓平台拥有巨大的用户群体,他们对安卓应用,比如安卓手机游戏的需求量也是极其巨大的。
通过Android的在线市场,程序员不仅能向全世界贡献自己的程序,而且可以通过
销售获得不菲的收入.[1]
1.2课题的应用前景

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/jsjkxyjs/1980.html

好棒文