五子棋手机网络对战游戏的设计与实现摘要
在现代社会中手机及其它无线设备越来越多的走进普通老百姓的工作和生活。随着3G技术的普及与应用,基于Java开发的软件在手机上的使用非常的广泛,手机增值服务的内容也是越来越多,对丰富人们的生活内容、提供快捷的资讯起着不可忽视的作用。本文基于J2ME技术,以计算机网络游戏的运行流程为基础,分模块开发一款网络五子棋游戏软件。本文对以下几点内容做了重点研究和探讨:1、系统整体结构,根据设计目标,结合普通网络游戏的运行流程,给出了系统总体设计方案,并探讨了系统设计时需要用到的关键技术。2、手机MIDP客户端的实现,MIDP客户端是游戏的唯一客户端,主要功能包括连接服务器进行身份验证、进行游戏并不断的与服务器交换数据。3、后台系统的设计与实现,后台用来处理与数据库的互联来验证用户身份、处理由客户端发送过来的数据。由于受到客观条件的限制,本系统的测试是在三星手机模拟器上完成的,但它仍不失具一定的实用价值。
关键词:J2ME;手机游戏;Servlet
fTheDesig
a
dImpleme
tatio
ofTheGoba
gWarGameo
CellPho
eNetwork
Abstract
I
moder
societymorea
dmorecellpho
esa
dotherwirelessdevicescomei
totheworka
dlifeofordi
arypeopleWiththepopularizatio
a
dapplicatio
ofthe3rdGe
eratio
ofDigitalcommu
icatio
tech
ology,thedevelopme
tofJavabasedsoftwarei
theuseofmobilepho
esisverybroadmobilevalueaddedservicesaremorea
dmoreItplaysa
importroletoe
richpeopleslivesa
dprovideeasieraccesstoi
formatio
Thispaperisbasedo
J2MEtech
ologyitexpou
dshowtotaketheru
i
gflowofcomputer
etworkasbasisi
troduceaki
dofgoba
ggameo
etworkbythesubmodulemethodThemai
poi
tsofthispapergoasfollows1TheoverallsystemstructureAccordi
gtothedesig
goalswiththege
eraloperatio
ofthe
etworkgameflowgivesthesystemdesig
a
dexploresthekeytech
ologywhichisusedbythedesig
ofthissystem2Theimpleme
tatio
ofthepho
eMIDPclie
tMIDPclie
tistheo
lygameclie
tthemai
fu
ctio
si
cludeco
ecti
gtheservertocheckthestatusplayi
ggamesa
dkeepi
gtheexcha
geofdatawiththeserver3Theimpleme
tatio
a
ddesig
ofbackgrou
dsystemBackgrou
distodealwiththeI
ter
etdatabasetoverifytheide
tityofusersprocessi
gthedatawhichisse
tbytheclie
tsDuetotherestrictio
sofobjectiveco
ditio
sthesystemstestcompletedi
theSamsu
gha
dsetsimulatorButitdoeshavesomeadva
tages
KeywordsJ2MEHa
dsetgameServlet
f目
录
论文总页数:24页
1引言r