专业: 指导教师: 2012年5月 手机单机版五子棋游戏设计与开发 摘要 J2ME(Java 2 Micro Edition) 是近年来随着各种不同设备,尤其是移动通信设备的飞速发展而诞生的一项新的开发技术。它定位在消费性电子产品的应用上,对设备的智能化、多样化,提供了革命性的解决方案,并因其“Write Once, run anywhere”的Java特性而提高开发的效率。 随着手机的日益普及、Java功能在移动设备上的实现,Java应用程序产生的手机增值服务逐渐体现出其影响力,对丰富人们的生活内容、提供快捷的资讯起着不可忽视的作用。特别是手机性能的逐渐增强,手机作为一个游戏平台越来越成熟了。本论文着眼于J2ME技术的应用,开发一款可用的手机游戏程序——五子棋。 本论文介绍了J2ME的相关技术及本程序的结构分析和具体功能的实现。 关键词:J2ME,手机游戏,五子棋 The five in a row game based on Java Abstract J2ME is a kind of fast developing technology implemented on various devices especially munication equipments. It focuses on application for consumptive electronic products, providing revolutionary solution to the intelligence and diversification of the equipment. It improves the efficiency of the development process thanks to its “Write Once, run anywhere” nature. When mobile phone is getting ever more popular nowadays, with the implementation of Java technology on mobile equipment, increment of capital munication service exhibits its force on people’s everyday life, providing them ever fast information just in hand. Mobile phone whose capability is greater is more and more mature for game. This dissertation focuses on implementation of J2ME technology and has developed mercial game suite run on mobile phones—Gobang. This dissertation introduces J2ME and its relative technology as well as this program’s structure and analysis of implementation in details. Keywords: J2ME,mobile game,Gobang 目录 1 绪论 3 研究背景 3 手机游戏国内外发展现状 3 目的与意义 3 论文内容及安排 3 2 JAVA的开发环境 3 J2ME简介 3 J2ME的相关特性 3 Configuration简介 3 Profile简介 3 3 需求分析 3 基本需求分析 3 功能需求 3 此系统使用范围要求 3 功能要求 3 性能要求 3 数据需求 3 系统平台需求 3 游戏玩法及规则 3 4 游戏设计及实现 3 软件模块总体设计 3 详细设计 3 游戏实现 3 5 测试 3 测试环境 3 系统测试 3 测试计划 3 游戏界面菜单选项的功能测试 3 按键事件的功能测试 3 6 手机游戏开发存在的困难