基于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 "24 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时代的来临和高性能手机的普及,单一的通信功能已经不能满足人们对手机的需求,人们对高质量的、丰富的手机游戏的需求正在不断增强。目前,手机的开发平台主要包括苹果的I