五子棋手机网络对战游戏的设计与实现——毕业论文

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

成都信息工程学院

学位论文

五子棋手机网络对战游戏的设计与实现

论文作者姓名:

申请学位专业:

申请学位类别:工学学士

指导教师姓名(职称):

论文提交日期:

五子棋手机网络对战游戏的设计与实现

摘要

在现代社会中,手机及其它无线设备越来越多的走进普通老百姓的工作和生活。

随着3G技术的普及与应用,基于Java开发的软件在手机上的使用非常的广泛,手机增值服务的内容也是越来越多,对丰富人们的生活内容、提供快捷的资讯起着不可忽视的作用。

本文基于J2ME技术,以计算机网络游戏的运行流程为基础,分模块开发一款网络五子棋游戏软件。

本文对以下几点内容做了重点研究和探讨:

1、系统整体结构。

根据设计目标,结合普通网络游戏的运行流程,给出了系统总体设计方案,并探讨了系统设计时需要用到的关键技术。

2、手机MIDP客户端的实现。

MIDP客户端是游戏的唯一客户端,主要功能包括连接服务器进行身份验证、进行游戏并不断的与服务器交换数据。

3、后台系统的设计与实现。

后台用来处理与数据库的互联来验证用户身份、处理由客户端发送过来的数据。

由于受到客观条件的限制,本系统的测试是在三星手机模拟器上完成的,但它仍不失具一定的实用价值。

关键词:J2ME;手机游戏;servlet

The design and implementation of gobang battle cell phone

network games

Abstract

In modern society, more and more cell phones and other wireless devices come into the work and life of ordinary people.

With the popularization and application of the 3rd Generation of Digital communication technology,the development of Java-based software in the use of mobile phones is very broad, mobile value-added services are more and more. It plays an import role to enrich people's lives and provide easier access to information.

Based on J2ME technology and a computer network running game flow, sub-module developing gobang game software on-line.

In this paper, the following points as a focus of study and research:

1、The overall system structure. According to the design goals, with the general operation of the network game flow, gives the system design, and explores the key technology, which is used by the design of this system.

2 、The realization of the phone MIDP client. MIDP client is the only game client, the main functions include connecting the server to check the status, playing games and keeping the exchange of data with the server.

3.、The implementation and design of background system. Background is to deal with the Internet database to verify the identity of users, processing the data, which are sent by the clients.

Due to the restrictions of objective conditions, the system's test completed in the Samsung handset simulator. But it is contrasted with a certain degree of practical value. .

Key words:J2ME; handset game; servlet

目录

论文总页数:24页

工学学士 (1)

1引言 (1)

2系统综述 (1)

3手机游戏的现状和关键技术介绍 (2)

软件现状 (2)

J2ME概况 (2)

J2ME的由来 (2)

J2ME的3层体系结构及MIDP简介 (3)

TOMCAT服务器介绍 (4)

SERVLET技术介绍 (5)

4 开发环境介绍 (7)

开发环境 (7)

开发工具:SAMSUNG W IRELESS T OOL K IT +关于SAMSUNG W IRELESS T OOL K IT (7)

5 客户端模块的开发 (7)

综述 (7)

程序的类结构 (7)

游戏的功能流程图 (8)

游戏的实现 (9)

主类Omok的实现 (9)

游戏登录界面以及操作说明界面的实现 (10)

五子棋获胜算法 (12)

进行测试 (13)

有待添加和完善的功能 (14)

结论 (14)

参考文献 (14)

致谢 (16)

声明 (16)

相关文档
最新文档