国产激情久久久久影院小草_国产91高跟丝袜_99精品视频99_三级真人片在线观看

基于J2ME的手機游戲設計與實現(xiàn)

時間:2024-10-12 14:19:28 計算機應用畢業(yè)論文 我要投稿
  • 相關推薦

基于J2ME的手機游戲設計與實現(xiàn)

畢業(yè)論文

目    錄
1 緒論 1
1.1手機軟件現(xiàn)狀 1
1.2 游戲業(yè)務及J2ME概況 1
2 開發(fā)環(huán)境及相關技術的介紹 5
2.1 開發(fā)環(huán)境 5
2.2 JAVA語言的特點 5
2.3 關于JBUILDER9 5
2.4 關于WIRELESS TOOL KIT 5
2.5 JAVA APPICATION MANAGER 6
3 系統(tǒng)設計思想與技術 7
3.1 本程序需解決的有關技術問題 7
3.2 程序流程 7
3.3 游戲API概述 8
3.3.1 游戲API類庫概述 8
3.3.2 提供低級繪制的Canvas類 9
3.3.3 Graphics類 10
3.3.4 Game包中的新功能 10
3.3.5 有關繪圖的1些技術 10
3.4 棋子的控制和敵方(手機)的智能運行 11
3.5 RMS數(shù)據(jù)庫系統(tǒng) 11
3.6 內(nèi)存使用的最佳化 12
3.7 混淆器(OBFUSCATOR)的使用 13
3.8 模擬器的相關調(diào)試 13
4 系統(tǒng)設計與編碼實現(xiàn) 14
4.1 游戲進入前的選擇 14
4.2 主游戲邏輯及其涉及到的若干類 14
4.3 游戲的總體流程實現(xiàn) 16
4.3.1 游戲的實現(xiàn)流程 16
4.3.2 棋子共同屬性 18
4.3.3 電腦棋子的功能屬性 18
4.3.4 記錄控制 19
4.4 游戲各個功能模塊的實現(xiàn) 19
4.4.1 登陸模塊的實現(xiàn) 19
4.4.2 棋子操作控制的實現(xiàn) 22
4.4.3 游戲結(jié)束控制的實現(xiàn) 24
4.5 游戲代碼的優(yōu)化問題 26
4.6 錯誤分析 26
4.7 錯誤總結(jié) 26
4.8 基于游戲模擬器的測試 27
5 總結(jié) 28
5.1 本程序的總結(jié)和展望 28
5.2 經(jīng)驗和感想 28
參考文獻 30
致    謝 31
源 代 碼 32
 
基于J2ME的手機游戲設計與實現(xiàn)
 
摘要:J2ME(Java 2 Micro Edition) 是近年來隨著各種不同設備,尤其是移動通信設備的飛速發(fā)展而誕生的1項新的開發(fā)技術。它定位在消費性電子產(chǎn)品的應用上。本文研究了基于J2ME技術的各種應用,學習了用J2ME開發(fā)游戲的1般方法,然后設計與實現(xiàn)了1款基于手機的小游戲。游戲主要完成了游戲的3個基本的功能模塊,實現(xiàn)玩家與手機對戰(zhàn)的基本操作,首先是登陸界面的繪制,同時創(chuàng)建1個隱含列表,在登陸時候供玩家選擇;其次是在游戲中對棋子的具體操作,包括對棋子移動位置的選擇控制,棋子的繪制和界面的更新,下棋方的選擇控制,重點實現(xiàn)了棋子出界和重疊問題的算法控制以及對戰(zhàn)手機下子的智能控制問題;最后1個功能模塊是對游戲結(jié)束的控制,通過對游戲條件的檢查判斷游戲是否已經(jīng)結(jié)束,當游戲結(jié)束時對游戲的結(jié)果進行分析得出游戲的最終勝利方。
關鍵字:J2ME,手機游戲, Java,5子棋
 
Design and Implementation of Cell-phone
Game Based on J2ME
 
Abstract:J2ME (Java 2 Micro Edition) is a newly-developed technology that derives from the development of various equipments, especially mobile telecommunication equipments. It aims at the application of electronics consumables. This thesis makes research of all kinds of application based on J2ME technology, and designs a new mobile-phone-based game through basic ways that use J2ME to develop games. The game has three basic function modules to realize the fundamental operation of combat between players and mobile phones. The first module is the design of login interface, including an invisible list for the choice of players. The second one is the detailed operation of chessman during the game, including the choice of place for the next moving, design of chessman and renewal of interface, and the choice of players. This part enables the calculation control of chessman outside the interface and the overlap problems, and enables the intelligent control of combating mobile phones. The third one is the control of game exit. It checks the game condition and judges whether it is finished, and then analyzes to get the result who is the winner.
 Keywords: J2ME, mobile game, Java, Five son chesses

基于J2ME的手機游戲設計與實現(xiàn)

【基于J2ME的手機游戲設計與實現(xiàn)】相關文章:

基于PQRM的PACS系統(tǒng)設計與實現(xiàn)03-07

基于Perl的DoS工具設計與實現(xiàn)03-10

基于PCI總線的CAN卡的設計與實現(xiàn)03-18

基于MVC模式的BBS系統(tǒng)設計與實現(xiàn)03-08

基于ASP的網(wǎng)絡考試系統(tǒng)的設計與實現(xiàn)03-07

基于FPGA的TS over lP的設計與實現(xiàn)03-21

基于JSP的BBS設計與實現(xiàn)JSP+SQL03-08

基于MX21的PMP系統(tǒng)的設計與實現(xiàn)11-22

基于JSP網(wǎng)頁自動生成工具的設計與實現(xiàn)03-18