国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

畢業(yè)論文 基于j2me的手機(jī)五子棋游戲的設(shè)計(jì)與實(shí)現(xiàn).doc

約62頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)

畢業(yè)論文 基于j2me的手機(jī)五子棋游戲的設(shè)計(jì)與實(shí)現(xiàn),畢業(yè)論文 基于j2me的手機(jī)五子棋游戲的設(shè)計(jì)與實(shí)現(xiàn)基于j2me的手機(jī)五子棋游戲的設(shè)計(jì)與實(shí)現(xiàn)摘 要:j2me(java 2 micro edition)是近年來(lái)隨著各種不同設(shè)備,尤其是移動(dòng)通信設(shè)備的飛速發(fā)展而誕生的一項(xiàng)開(kāi)發(fā)技術(shù)。它因其“write once,run anywhere”的java特性而提高了開(kāi)發(fā)的效率。隨著...
編號(hào):40-214480大小:2.20M
分類(lèi): 論文>通信/電子論文

內(nèi)容介紹

此文檔由會(huì)員 lanxin520 發(fā)布

畢業(yè)論文 基于J2ME的手機(jī)五子棋游戲的設(shè)計(jì)與實(shí)現(xiàn)

基于J2ME的手機(jī)五子棋游戲的設(shè)計(jì)與實(shí)現(xiàn)
摘  要:J2ME(Java 2 Micro Edition)是近年來(lái)隨著各種不同設(shè)備,尤其是移動(dòng)通信設(shè)備的飛速發(fā)展而誕生的一項(xiàng)開(kāi)發(fā)技術(shù)。它因其“write once,run anywhere”的Java特性而提高了開(kāi)發(fā)的效率。隨著手機(jī)性能的不斷提高,手機(jī)休閑娛樂(lè)應(yīng)用將成為PC休閑娛樂(lè)應(yīng)用之后又一重要業(yè)務(wù)增長(zhǎng)點(diǎn)。棋類(lèi)游戲規(guī)則單一,比較適合在手機(jī)等便攜終端推廣。
    由于具有跨平臺(tái)、易于移植、占用空間小的優(yōu)勢(shì),J2ME成為移動(dòng)應(yīng)用開(kāi)發(fā)平臺(tái)的主流,并提供了很多用以支持移動(dòng)應(yīng)用軟件的開(kāi)發(fā)的API?,F(xiàn)將該技術(shù)用于這次的手機(jī)游戲開(kāi)發(fā),可以實(shí)現(xiàn)游戲的快速開(kāi)發(fā),不但便于查看游戲運(yùn)行過(guò)程中內(nèi)存的占用量和程序的每一部分代碼消耗了多少處理器時(shí)間,而且可以不斷地優(yōu)化代碼,使代碼具有高度的復(fù)用性、可擴(kuò)展性、可維護(hù)性。
   游戲的開(kāi)發(fā)以J2ME為平臺(tái),利用Java技術(shù),結(jié)合J2ME的MIDP技術(shù),并對(duì)于程序設(shè)計(jì)思想,重要類(lèi)、方法等展開(kāi)討論。在對(duì)弈部分,分析設(shè)計(jì)走棋算法,選擇合適的方式組織成代碼,實(shí)現(xiàn)基本的人工智能。過(guò)程中使用了J2ME中的CLDC/MIDP軟件體系,主要運(yùn)用了MID Profile的特定類(lèi)的支持,來(lái)完成游戲的開(kāi)發(fā)。
   
關(guān)鍵詞:J2ME;CLDC;MIDP

 

 

Design and Implementation of Gobang Cell-phone Game
Based on J2ME
Abstract: J2ME is a kind of fast developing technology implemented on various devices especially mobile communication equipments. It improves the efficiency of the development process because of its "write once, run anywhere" nature. The development trend of the entertainment market based on the cell phone is very obvious because the handset performance enhances unceasingly. The entertainment market based on the cell phone will to be the new important business growth point follow the PC entertainment market. As the rules of a single chess game, it is more suitable for mobile phones and other portable terminal extension.
   J2ME has been the preferred platform for development because of its platform independent and compatibility, and provides a lot of APIs to support the development of mobile application software. The technology for mobile game development, can achieve the rapid development of the game. It is not only easy to observe the memory consumption and processor consumed time during the operation of the game, but also can optimize the code, so that the code has a high degree of reusability, scalability, maintainability.
   The game has designed by J2ME, the Java technology and the MIDP technology. I studied the procedure thought, the important class and the method. In the playing chess part, I have analyzed the algorithm, choosed the appropriate way to organize the code and realized the basic artificial intelligence. On the other hand, I learned software system of CLDC/MIDP and the specific class of the MID Profile to complete the game development.

Key words: J2ME;CLDC;MIDP


目    錄
1 概述 1
1.1 課題研究背景 1
1.2 課題研究意義 2
2 開(kāi)發(fā)技術(shù)背景 2
2.1 JAVA語(yǔ)言概述 2
2.2 J2ME簡(jiǎn)介 3
2.3 J2ME的體系結(jié)構(gòu) 4
2.4 移動(dòng)信息設(shè)備簡(jiǎn)表 7
2.5 開(kāi)發(fā)平臺(tái) 8
3 系統(tǒng)分析及總體設(shè)計(jì) 9
3.1 可行性分析 9
3.2 需求分析 9
3.3 系統(tǒng)概要設(shè)計(jì) 10
4 系統(tǒng)詳細(xì)設(shè)計(jì) 13
4.1 界面設(shè)計(jì) 13
4.2 走棋算法 27
4.3 勝負(fù)判斷 29
5 系統(tǒng)測(cè)試 30
5.1 測(cè)試方案 30
5.2 測(cè)試結(jié)果 30
6 結(jié) 束 語(yǔ) 35
參考文獻(xiàn) 36
致    謝 37
附    錄 38
附錄1 程序清單 38
附錄1.1 StartGame.java程序清單 38
附錄1.2 Chesses.java程序清單 39
附錄1.3 Chessboard.java程序清單 44
附錄1.4 其它程序清單 49