网站导航免费论文 原创论文 论文搜索 原创论文 网学软件 学术大家 资料中心 会员中心 问题解答 原创论文 大学论文导航 设计下载 最新论文 下载排行 原创论文 设计图标 Ppt模板 Flash素材 PSD素材 JS代码
返回网学首页
网学联系
最新论文 推荐专题 热门论文 素材专题
当前位置: 网学 > 编程文档 > JAVA > 正文

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

来源:http://myeducs.cn 联系QQ:点击这里给我发消息 作者: 用户投稿 来源: 网络 发布时间: 16/01/19

【编者按】:网学网JAVA为您提供五子棋手机网络对战游戏的设计与实现参考,解决您在五子棋手机网络对战游戏的设计与实现学习中工作中的难题,参考学习。

包括论文,设计,论文字数:11262,页数:29

摘     要
在现代社会中,手机及其它无线设备越来越多的走进普通老百姓的工作和生活。随着3G技术的普及与应用,基于Java开发的软件在手机上的使用非常的广泛,手机增值服务的内容也是越来越多,对丰富人们的生活内容、提供快捷的资讯起着不可忽视的作用。
本文基于J2ME技术,以计算机网络游戏的运行流程为基础,分模块开发一款网络五子棋游戏软件。
本文对以下几点内容做了重点研究和探讨:
系统整体结构,根据设计目标,结合普通网络游戏的运行流程,给出了系统总体设计方案,并探讨了系统设计时需要用到的关键技术。
手机MIDP客户端的实现,MIDP客户端是游戏的唯一客户端,主要功能包括连接服务器进行身份验证、进行游戏并不断的与服务器交换数据。
后台系统的设计与实现,后台用来处理与数据库的互联来验证用户身份、处理由客户端发送过来的数据。
由于受到客观条件的限制,本系统的测试是在三星手机模拟器上完成的,但它仍不失具一定的实用价值。
关键词:J2ME;手机游戏;Servlet
The Design and Implementation of The Gobang War Game on Cell Phone Network
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.
This paper is based on J2ME technology, it expounds how to take the running flow of computer network as basis, introduce a kind of gobang game on network by the sub-module method. .
The main points of this paper go as follows:
(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 implementation 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 is sent by the clients.
 Due to the restrictions of objective conditions, the system''s test completed in the Samsung handset simulator. But it does have some advantages.
Key words: J2ME; Handset game; Servlet

目       录

1引言 1
2系统综述 1
3手机游戏的现状和关键技术介绍 2
3.1软件现状 2
3.2 J2ME概况 2
3.2.1 J2ME的由来 2
3.2.2 J2ME的3层体系结构及MIDP简介 3
3.3 tomcat服务器介绍 4
3.4 servlet技术介绍 5
4 开发环境介绍 7
4.1开发环境 7
4.2 关于SAMSUNG Wireless Tool Kit 7
5 客户端模块的开发 7
5.1 综述 7
5.2 程序的类结构 7
5.3 游戏的功能流程图 8
5.4 游戏的实现 9
5.4.1 主类Omok的实现 9
5.4.2 游戏登录界面以及操作说明界面的实现 10
5.4.3游戏画布类的实现 12
5.4.4网络连接类的实现 14
5.4.5五子棋获胜算法 15
6服务器端程序的开发 17
6.1数据库的设计与实现 17
6.2 servlet程序的编写 17
7改进建议和措施 20
7.1关于图片问题 20
7.2软件测试 20
7.2.1测试前的准备工作 20
7.2.2进行测试 21
7.2.3有待添加和完善的功能 22
结    论 22
参考文献 22
致    谢 23
声    明 24

五子棋手机网络对战游戏的设计与实现......
  • 上一篇资讯: [JAVA]
  • 版权所有 QQ:3710167 邮箱:3710167@qq.com 网学网 [Myeducs.cn] 您电脑的分辨率是 像素
    Copyright 2008-2015 myeducs.Cn www.myeducs.Cn All Rights Reserved 湘ICP备09003080号