摘要:随着生活节奏的加快与智能手机的发展,人们对于在智能手机上进行娱乐的机会越来越多,这在一定程度上推动了手机游戏的发展。在这些游戏中,棋牌类游戏一直受到人们的喜爱。这次设计的是一款基于Android平台的中国象棋游戏,游戏设定为人机对弈,操作方式采用屏幕触摸操控棋子和界面。采用了Android手机中的2D呈现技术,使界面美观。游戏的架构设计成4类,分别是公共类,通过扩展activity实现对游戏的控制;辅助界面类,即欢迎界面,采用渐变实现动画的效果;游戏界面类,游戏界面的实现类,绘制游戏场景中的物体;走法引擎类,定义走棋规则和计算走棋。游戏操作一共5个功能,开始游戏,暂停游戏,重新开始游戏,声音的开关和悔棋功能,上手十分简单。7453
关键词: 智能手机;Android;游戏;中国象棋
The Development Of mobile Casual Games On Android Platform
Abstract: With the speeding up of the pace of life and the development of smart phones, opportunity more and more that people use smart phones to entertainment, this to a certain extent, promote the development of the mobile phone games. In these games, board games have been popular with people. This design is a based on Android platform of Chinese chess game, the game is set a man-machine game, operating mode adopts touch screen control piece and the interface. Using the 2D rendering technology in Android phones, let interface aesthetics. Game architecture design into 4 classes, respectively is a public class, achieve control of the game by extending the activity; secondary interface classes, that is, the welcome screen, animation is realized by using the gradient effect; game interface, the interface implementation class, drawing game objects in the scene; games engine classes, define the rules of playing chess and computing moves. Game operating a total of five function, start the game, suspended game, to start the game, the voice of the switch and retract a false move in a chess game function, it is very simple.
Keywords: Smart phone; Android; The game; Chinese chess
目录
摘要 i
Abstract i
目录 ii
1 绪论 1
1.1 研究的目的与意义 1
1.2 国内外研究的现状与水平 1
1.3 发展趋势 2
1.4 游戏 2
1.5 中国象棋 3
2 Android操作系统 4
2.1 系统简介 4
2.2 发展历程 4
2.3 发展版本 5
2.4 系统架构 8
2.4.1 应用程序 9
2.4.2 应用程序的框架 9
2.5 系统结构 10
2.5.1 系统内核 10
2.5.2 后缀 10
2.5.3 硬件抽像层 10
2.5.4 中介软件 11
2.5.5 安全权限机制 11
2.6 ANDROID应用组件 12
2.6.1 Activity 12
2.6.2 Service 13
2.6.3 Broadcast Receiver 13
2.6.4 Content Provider 13
2.7 XUL界面 14
2.8 平台优势 15
2.8.1 开放性 15 基于Android中国象棋游戏游戏的开发:http://www.youerw.com/jisuanji/lunwen_5425.html