【正文】
所在。 Eclipse Eclipse 是不僅僅是成為專門開發(fā) JAVA 程序的 IDE 環(huán)境,根據 Eclipse 的體系結構,通過開發(fā)插件,它能擴展到任何語言的開發(fā),甚至能成為圖片繪制的工具。 Android 版本 Android 操作系統(tǒng)是一個由 Google 和開放手持設備聯(lián)盟共同開發(fā)發(fā)展的 移動設備操作系統(tǒng),其最早的一個版本 Android beta 發(fā)布于 2021 年 11 月 5 日,至今已經發(fā)布了多個更新。后者是一種基于寄存器的 java 虛擬機, Dalvik 虛擬機主要是完成對生命周期的管理、堆棧的管理、線程的管理、安全和異常的管理以及垃圾回收等重要功能。并且,任何一個應用程序都可以發(fā)布自身的功能模塊,而其他應用程序則可以使用這些已發(fā)布的功能模塊。同時,開 發(fā)者可以利用 Java 語言設計和編寫屬于自己的應用程序,而這些程序與那些核心應用程序彼此平等、友好共處。 2021 年末數據顯示,僅正式推出兩年的 Android 操作系統(tǒng)在市場占有率上已經超越稱霸逾十年的諾基亞 Symbian 系統(tǒng),成 為全球第一大智能手機操作系統(tǒng)。 圖 Android Logo Android 系統(tǒng)最初由安迪 Java 語言問世的時間雖然不長,但卻已被業(yè)界所接受, IBM、 Apple、 DEC、Adobe、 HP 等大公司都已經購買了 Java 語言的許可證。 圖 Java Logo Java 編程語言的風格十分接近 C++語言。但是,由于一些非技術上的原因, Oak 語言并沒有得到迅速的推廣。總體介紹了程序的設計架構及所要實現(xiàn)的功能分析,并闡述了開發(fā)平臺和環(huán)境的選擇。當你體會過這款游戲,你就會被這游戲深深的吸引, 根本停不下來。因為 學習 的關系,本人接觸了很多 Android 開發(fā)者的游戲,發(fā)現(xiàn)國內開發(fā)者開發(fā)的 Android 手機游戲,不僅界面粗糙,而且設計簡單,同質化嚴重,相同的創(chuàng)意往往被反復抄襲很多次。 由于近幾年來, Android 智能 手機游戲的快速發(fā)展,游戲的分類也變得越來越豐富,目前手機游戲按內容可分為:角色扮演類( RPG)、冒險類( AVG)、格斗類( FTG)、棋牌類、電影改版類、益智類、體育競技類、模擬類。 而 Android 智能 手機游戲的出現(xiàn)正是為了娛樂心神,并且隨著智能移動終端和全球移動通信網絡的不斷進步, Android 智能 手機游戲 也正在經歷從簡單到復雜的進化過程。 游戲 經 過圖形界面的處理,以不同的 顏色 顯示不同的 數字 ,并擁有了最高成績記錄,撤銷上一步,重置游戲 的各項功能。第一款《 2048》小游戲是由 Gabriele Cirulli 首度發(fā)布在 GitHub 上。 《 2048》這款小游戲是一款流行的 數字游戲 。 本文采用 JAVA 語言開發(fā)了 2048 小游戲,通過 Android 平臺 實現(xiàn)了 2048 的基本運行, 本著簡 單,易于操作的原則和緩解生活壓力、降低生活節(jié)奏的初衷,游戲中沒有繁多的按鈕,也不用特別復雜的操作,只需動動手指,即可操縱自如。 【 關鍵詞 】 游戲; 益智; 數字電子科技大學中山學院畢業(yè)設計(論文) Abstract II Based on the Android platform 2048 game 【 Abstract】 In the accelerated pace of life in the modern society, easy puzzle game to ease the pressure of , adjust the mood has important meaning 2048 this small game is a popular digital game. The first 2048 small game was released by Cirulli GitHub on Gabriele for the first time. 2048 was based on 1024 and small three Legend of the two gameplay and the development of a new type of digital games and game design original intention is a puzzle game, its characteristics is easy and simple, therefore, to achieve the function to plete, easy to operate, Yi Xueyi use. Now developed a version of the ordinary version, hexagonal version, Dynasty version, 3D version, the palace version, etc. The Java language to develop the 2048 small game, 2048, the basic operation is realized through the Android platform, the purpose of simple and easy operation principle and alleviate the pressure of life, reduce the original intention of the rhythm of life, the game without different button, also need not particularly plex operations, only need to move a finger, you can maneuverability. Game through the processing of the graphical interface to display different colors with different numbers, and have the highest score records, undo the last step, reset the function of the game. The logic of the game to achieve part of the test, the test results are normal, there is no abnormal. But the game interface may be a little simple, in the future can be used to beautify the interface to get a better gaming experience. 【 Key Words】 game; puzzle; numbel電子科技大學中山學院畢業(yè)設計(論文) 目 錄 III 目 錄 第 1 章 緒論 ............................................................. 1 游戲開發(fā)背景 .................................................... 1 國內外研究現(xiàn) 狀 .................................................. 1 游戲開發(fā)意義 .................................................... 2 論文結構 ........................................................ 2 第 2 章 相關技術和理論基礎 ............................................... 3 Java 語言 ........................................................ 3 Android 操作系統(tǒng) ................................................. 4 簡介 ...................................................... 4 系統(tǒng)架構 .................................................. 5 Android 版本 ............................................... 6 開發(fā)平臺介紹 .................................................... 6 Eclipse ................................................... 6 ADT ....................................................... 7 JDK ....................................................... 7 第 3 章 可行性分析 ....................................................... 8 可行性研究目的 .................................................. 8 技術可行性 ................................................ 8 經濟可行性 ................................................ 8 操作可行性 ................................................ 8 第 4 章 游戲設計 ......................................................... 9 游戲規(guī)則 .................................................... 9 總體設計 .................................................... 9 詳細設計 ................................................... 11 第 5 章 游戲測試 ........................................................ 18 測試過程 ........................................................ 18 測試內容 ........................................................ 18 測試結果 ........................................................ 22 第 6 章 心得體會 ........................................................ 23 參考文獻 ............................................................... 24 附錄 游戲實現(xiàn)代碼 ..................................................... 25 致謝 .................................................................... I 電子科技大學中山學院畢業(yè)設計(論文) 圖 目錄 IV 圖目錄 圖 Java Logo ....................................................................................................3 圖 Android Logo ..............................................................................................4 圖 Android 系統(tǒng)架構 .......................................................................................5 圖 系統(tǒng)功能 ..................................................................................................9 圖 計分顯示 ................................................................................................10 圖 游戲內容 .............................................................................................