下载此文档

基于J2ME的手机五子棋游戏的设计.doc


文档分类:IT计算机 | 页数:约60页 举报非法文档有奖
1/60
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/60 下载此文档
文档列表 文档介绍
基于 J2ME 的手机五子棋游戏的设计与实现摘要: J2ME(Java 2Micro Edition) 是近年来随着各种不同设备,尤其是移动通信设备的飞速发展而诞生的一项开发技术。它因其“write once,run anywhere ”的 Java 特性而提高了开发的效率。随着手机性能的不断提高,手机休闲娱乐应用将成为PC休闲娱乐应用之后又一重要业务增长点。棋类游戏规则单一,比较适合在手机等便携终端推广。由于具有跨平台、易于移植、占用空间小的优势, J2ME 成为移动应用开发平台的主流,并提供了很多用以支持移动应用软件的开发的 API 。现将该技术用于这次的手机游戏开发,可以实现游戏的快速开发, 不但便于查看游戏运行过程中内存的占用量和程序的每一部分代码消耗了多少处理器时间, 而且可以不断地优化代码,使代码具有高度的复用性、可扩展性、可维护性。游戏的开发以 J2ME 为平台,利用 Java 技术,结合 J2ME 的MIDP 技术,并对于程序设计思想,重要类、方法等展开讨论。在对弈部分,分析设计走棋算法,选择合适的方式组织成代码,实现基本的人工智能。过程中使用了 J2ME 中的 CLDC/MID P 软件体系,主要运用了 MID Profile 的特定类的支持,来完成游戏的开发。关键词: J2ME ;CLDC ;MIDP D esign and I mplementation of Gobang Cell-phone Game B ased on J2ME Abstract : J2ME isa kind of fast developing technology implemented on various devices especially munication equipments. It improve s the efficiency of the development process because of its"w rite o nce, run anywhere" nature. The development trend of the entertainment market based on the cell phone is very obvious b ecause the handset performance enhances unceasingly . The entertainment market based on the cell phone will tobe the new important business growth point follow the PC entertainment market. As the rules ofa single chess game, it is more suitable for mobile phones and other portable terminal extension. J2ME has been the preferred platform for development because of its platform independent patibility, and provides a lotof API s to support the development of mobile application software. The technology for mobile game development, can achieve the rapid development of the game . It isnot only easy too bserve the memory consumption and processor consumed time during the operation of the game ,but also can optimize the code , so that the code has a high degree of reusability, scalability, maintaina bility . The g ame has designed by J2ME, the Java technology and the MIDP technology .I studied the procedure thought, the important class and the method. In the playing chess part, Ihave analyzed the algorithm, choose d the appropriate way

基于J2ME的手机五子棋游戏的设计 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数60
  • 收藏数0 收藏
  • 顶次数0
  • 上传人6188
  • 文件大小2.21 MB
  • 时间2017-05-27