基于Android平台的24点游戏设计与实现
Android平台24点游戏设计与实现
摘要
随着移动设备的普及以及移动设备的硬件的提升,移动设备的功能越来越完善,移动设备的系统平台也日渐火热起来。目前国内最常见的移动开发平台有Symbian,iPhone,Windows Phone以及当下正在逐步兴起的Android,目前为止国内已经有很多Android系统的用户。
在80年代流行一种数字游戏,我们称之为“24点”。用扑克牌实现24点,就是从扑克牌中任意抽出4张(数字表示为1-13),用加、减、乘、除的方法是结果成为24。程序实现由系统随机产生4张牌,玩家输入表达式,然后判断表达式是否合法且等于24。
借鉴网上的多种游戏,我用Android手机平台开发设计了24点游戏,并在eclipse模拟平台环境下实现基本功能的游戏程序(类似于纸牌游戏)。其开发开发包括较多的计算机技术(多媒体技术、程序设计、数据结构、计算机网络、数据库技术、人工智能和软件工程等),作为本科毕业设计选题,具有较强的综合性,达到综合锻炼所学知识的价值。
关键词:Android eclipse 手机模拟平台 24点游戏
Abstract: With the growing popularity of mobile devices and mobile device hardware upgrade, mobile devices become more perfect system platform for mobile devices are increasingly picking up. At present, the most common mobile development platform for the Symbian, the iPhone, Windows Phone, as well as the current is gradually emerging Android, so far the country has a lot of users of the Android system.
In the 1980s a popular numbers game, which we call the \point\24 points, with playing cards and poker in any out of four (numerals 1-13), with addition, subtraction, multiplication, in addition to the methods, results become 24. The program randomly generated by the system of four card players enter the expression, and then determine the expression is valid and equal to 24.
Learn from the online variety of games, I use the Android mobile platform designed a 24-point game, eclipse simulation platform environment to achieve the basic functions of the game program (similar to a card game). Development to develop more computer technology (multimedia technology, programming, data structures, computer networking, database technology, artificial intelligence and software engineering), as a graduate design topics, with a strong integrated to achieve a comprehensive exercise learned the value of knowledge.
Key words: Android eclipse phone simulation platform 24-point game
目 录
=
1 绪论
1.1引言
随着3G时代的来临和高性能手机的普及,单一的通信功能已经不能满足人们对手机的需求,人们对高质量的、丰富的手机游戏的需求正在不断增强。目前,手机的开发平台主要包括苹果的IOS、Google的Android、微软的Win7和诺基亚的Symbian等,其中Google的Android操作系统因其稳定性、开发性、低成本等特点,受到广大手机游戏开发者关注。Android系统作为最近几年才涌现的智能手机操作系统,Android操作系统无疑是一个新手,多家智能手机制造商不断推出基于Android操作系统的智能手机,使Android操作系统的市场份额以及影响力与日俱增,其前景正被越来越多的人看好。本文侧重于Android的应用软件开发。主要的研究内容是Android操作系统平台下的游戏软件开发应用。本文从实际的开发案例出发,从一个开发者的角度,独立的从游戏需求分析、游戏功能设计、游戏开发设计、游戏运行测试等角度来进行分析和阐述。最终完成了”24点游戏”的移植和开发,重点在于实用性和应用性。
本文的内容主要有以下五个方面:
1、智能手机研究现状以及几种操作系统的研究分析,Google Android系统平台和其他系统平台的比较。
2、系统分析阐述,包括主要研究内容、研究目标等其他性能分析
3、Android操作系统以及开发平台的相关研究,主要是Windows开发平台下Android开发平台的搭建。
4、基于Android操作系统的“24点游戏”的设计,包括模块设计、界面设计及流程图等内容。
5、“24点游戏”程序开发,包含文件结构、关键代码等。
6、”24点游戏”运行的测试,在真实智能手机上的安装、运行、卸载等相关测试。 7、论文的总结和对未来的展望。
本文解决了风行一时的经典“24点游戏”在Android系统下的开发问题。通过对Android的详细介绍,开发人员可以从中了解到其自身的作用,两三年来,随着Android手机的诞生,其无可替代的灵活性与轻便性致使Android手机成为智能手机市场的又一