摘 要
本系統是一個基于Java ME平臺的無線網絡移動端的俄羅斯方塊游戲,利用Java ME Wireless Toolkit(WTK)開發包工具在無線網絡移動端上實現經典的俄羅斯方塊游戲。論文開始部分對無線網絡移動系統開發中常使用幾種開發語言和環境作了比較,說明了選擇Java ME Wireless Toolkit作為開發環境的的原因并對它作了相關的介紹。并展示了在WTK中打開一個項目、把源文件打包成JAR包、產生混淆包的方法和過程。在系統設計時,遵循了無線網絡移動端程序的startApp、pauseApp、destroyApp的開發生命周期。在設計與實現方面,分成難度選擇、游戲規則、方塊處理這幾個模塊進行實現。在開發與實現的同時也講解了俄羅斯方塊這款古老而經典游戲的游戲背景、規則以及相關特性。最終展示了無線網絡移動端的游戲開發的基本開發過程和設計思路。
關鍵詞:無線網絡移動端;Java ME;俄羅斯方塊;游戲開發Realization of the TETRIS Game Based On Mobile Platform of Java ME Wireless Network
Abstract
Puzzle games are a pretty interesting type of game to create for Java ME. TETRIS is a great example of a mix of puzzle and action. TETRIS is one of the few games that achieve ultimate popularity. It is remarkably simple, yet remarkably difficult. The system is a TETRIS which is based on the platform of Java ME mobile wireless, applying Java ME Wireless Toolkit (WTK) to achieve using TETRIS in simulator. This article offers a brief introduction about the development of Java ME Wireless Toolkit. The design and the development are including three parts: TETRIS’s rules, the selecting of difficulty and the disposing of pieces. In the process of development and implementation, the article also interprets the TETRIS's rules and TETRIS’s characters to show all the process of the development and design.
Key words: wireless network UE; Java ME; TETRIS; game development