第 29卷第 3期计算机应用与软件 Vol
2012年 puterApplicationsandSoftware
基于 J2ME的手机掼蛋网络游戏的研究
傅伟1 高海侠1 涂刚1 熊平2
1(江苏财经职业技术学院计算机技术与艺术设计系江苏淮安 223003)
2(中南大学信息物理工程学院湖南长沙 410083)
摘要随着 3G时代的到来,以及手机性能的不断提高,手机娱乐休闲的功能日益彰显。使用 J2ME作为手机网络游戏的开发
平台,结合 Servlet技术构建手机掼蛋网络对战游戏,利用多线程实现手机客户端随机接收服务器消息。为了让玩家按服务器发送
的顺序接收消息,采用队列进行存储,使消息按队列先进先出顺序供客户端接收。通过实验模拟,达到了设计的效果。
关键词 Servlet技术网络游戏 J2ME 通信
中图分类号 文献标识码 A
ONAMOBILEPHONEONLINEPOKERGAMEBASEDONJ2ME
FuWei1 GaoHaixia1 TuGang1 XiongPing2
1(puterTechnologyandArtisticDesign,JiangsuVocationalandTechnicalCollegeofFinanceandEconomics,Huaian223003,Jiangsu,China)
2(SchoolofInfophysicsandGeomaticsEngineering,CentralSouthUniversity,Changsha410083,Hunan,China)
Abstract Withtheemergenceof3Geraandthegrowingimprovementofmobilephoneperformance,theleisureandentertainment
messagesonmobileclient,inordertolettheplayerreceivemessagesinsequenceofserversending,weusequeueforstorage,sothatthe
messagescanlineaqueuein“firstinfirstout”.
Keywords Servlettechnology Onlinegame munications
0 引言
随着手机用户不断增加,以及 3G网络的到来,手机游戏的
基于J2ME 的手机掼蛋网络游戏的研究 来自淘豆网m.daumloan.com转载请标明出处.