摘 要
Android是一种以Linux为基础的开放源码操作系统迅速占领了智能机操作系统,所以在android环境下开发显得尤为必要。本文详细介绍了在Android平台上以Java为语言编写游戏的过程。五子棋游戏的开发不仅是一个简单游戏的编写过程,更重要的是在系统分析和设计阶段所做的工作。本文在设计过程中严格遵循软件工程学的方法,用分阶段的生命周期计划严格管理,并主要讲述了程序的总体设计、详细设计阶段,对程序进行需求迭代,不断修正和改进,直到形成一个完善的可行性系统.界面美观、大方,方便的操作与良好的视觉感应共同构成了“基于Android平台的五子棋游戏设计与开发”的设计。
关键词:手机游戏;Android;五子棋; Java
Abstract
Android is a Linux based open source operating system quickly occupied the operating system of intelligent machines, so in the Android development environment is particularly necessary. This paper described in detail in the Android platform with Java language programming game. Development of the Gobang game is not only a simple game preparation process, but more importantly in the analysis and design phases of work. Methods this paper strictly follows the software engineering in the design process, with the life cycle stages to the strict management plan, and focuses on the overall design of the procedure, the detailed design stage, the demand for computation procedures, and constantly revised and improved, until the feasibility of forming a perfect system. The interface is beautiful, generous, convenient operation and good visual induction together constitute the "design based on the design and development of" Gobang game platform of Android.
Key words: mobile phone game Gobang; Java; Android
目 录
题目:基于Android平台的五子棋游戏设计与开发 II
摘 要 III
Abstract IV
第一章 概述 1
1.1 研究背景 1
1.2 研究目的及意义 1
1.3 国内外研究现状 2
1.4 Android系统的四大组件 3
1.5 开发技术及软件介绍 4
1.5.1 Java技术 4
1.5.2 Android平台 5
1.5.3 Android内核 6
1.5.4 Tomcat 7
1.5.5 Lib 7
1.5 本章小结 7
第二章Android平台搭建 8
2.1 Android的架构分析 8
2.2 Android特征 8
2.3 Android架构 8
2.3.1关键应用程序 8
2.3.2 应用程序框架 9
2.3.3进程管理机制 9
2.3.4应用的组成 10
2.3.5 系统运行库 11
2.4 Android应用的构成和工作机制 12
2.5 Android与其他手机操作系统的比较 12
2.6 Android基本知识简介 14
2.6.1 Intent之Action 14
2.6.2 Intent之类名跳转 14
2.6.3 SharedPreferences简介 15
2.6.4 SQLite简介 16
2.7 本章小结 17
第三章 系统需求分析 18
3.1可行性分析 18
3.1.1经济上的可行性 18
3.1.2技术上的可行性 18
3.1.3操作上的可行性 18
3.3系统用户用例图 18
3.4功能需求分析 19
3.5 流程图 19
3.5 功能结构图 20
3.5 运行环境要求 21
第四章 系统功能实现 22
5.1 手机模拟器运行界面 22
5.2 游戏主界面实现 22
5.3 游戏功能实现 24
5.4 高级设置功能实现 26
第六章 游戏测试 28
6.1 软件测试简介 28
6.2 系统测试的目的和意义 28
6.3 测试过程 28
结 论 29
致 谢 30
参考文献 31
第一章 概述
1.1 研究背景
随着经济的发展,社会竞争的激烈,现在社会进入了竞争的时代。上班族为了完成公司业务,每天超负荷的工作;学生为了不落后他人每天早起晚睡不断地学习,压力巨大。所以为了缓解大家的压力,使大家在工作、学习之余娱乐一下,活跃大脑,提高工作、学习效率,我本人设计了一个简易的五子棋游戏。本系统将利用五子棋游戏作为研究对象,在Windows平台下,运用java语言设计的一个能够实现人机对战的简单游戏。该系统涉及到
人工智能方面的知识,而计算机博弈是人工智能研究的一个重要分支,其中还包括几个重要的搜索算法。只有通过一定的研究,才能实现五子棋的人机对战功能。