【正文】
的市場份額占整個智能手機市場 50%的份額,相比前一年, 具有 勢不可擋的發(fā)展勢頭。優(yōu)秀的益智游戲娛樂性也十分強,既好玩又耐玩 。 更有趣的,需要適當考慮,適合所有年齡的人 。 本課題研發(fā)了一款 Android 平臺下的手機游戲 —— 手機益智拼圖游戲。s brain, eyes, hands, it t cans improving peoples physical and mental wellbeing, enhance their ability in logic analysis and thinking. Android is one of the major intelligent mobile phone system, the research and development of the application of the game is the development of the times. A jigsaw puzzle is a small game to test the player. The game player selected a picture randomly, the picture is divided into several parts, and the order will be disrupts, the player will spell out it in shortest time. Finally, the game given player score and ranked according to the player’s answer. This paper discussed the implemented of the game about algorithms, data storage, data transceiver, music processing, and time control. Key Words: Android platform。玩家 隨機抽取一張圖, 圖被 分若干份, 并 打亂秩序 ,玩家最 短的時間來 拼出的圖片。 本科 畢業(yè)設計(論文) ( 2020 屆 ) 題 目: 基于安卓的拼圖游戲 設計與實現(xiàn) 學 院: 浙江外國語學院 專 業(yè): 計算機科學與技術 學生姓名: 金國鋒 學號: 20205640072 指導教師: 徐小 玲 職稱: 副教授 合作導師: 職稱: 完成時間: 2020 年 5 月 15 日 成 績: 理工類 浙江外國語學院 本科畢業(yè)設計 (論文 )正文 目 錄 摘要 ?????????????????? ????????????????? ? 1 關鍵詞??????????????????????????????????? 1 英文 摘要????????????????????????????????? ? 1 英文 關鍵詞????????????????????????????????? 1 1 引言 ............................................................. 1 游戲的目的與意義 ................................................................................................ 1 Android 游戲的發(fā)展趨勢 ....................................................................................... 2 系統(tǒng)調研 ................................................................................................................. 3 社會可行性分析 ................................................................................................. 3 技術可行性分析 ................................................................................................. 3 經(jīng)濟可行性分析 ................................................................................................. 4 2 相關技術介紹和分析 ............................................... 4 Android 的系統(tǒng)架構 ............................................................................................... 4 Window 下 Android 開發(fā)環(huán)境的搭建 ................................................................... 5 3 游戲總體設計 ..................................................... 7 拼圖游戲概述 ........................................................................................................ 7 游戲模塊概述 ........................................................................................................ 8 界面布局模塊 ..................................................................................................... 8 背景音樂模塊 ...................................................................................................... 9 游戲計時與計數(shù)模塊 ......................................................................................... 9 評分模塊 .............................................................................................................. 9 4 游戲詳細設計 .................................................... 10 對功能的設定 ...................................................................................................... 10 對性能的規(guī)定 ...................................................................................................... 10 游戲主界面: ...................................................................................................... 11 5 游戲主體設計與實現(xiàn) .............................................. 13 游戲主 Activity——PuzzleGameActivity 的設計 .............................................. 13 圖片數(shù)組的 聲明與定義 ...................................................................................... 13 聲明圖片的位置參數(shù)對象 .................................................................................. 13 記錄圖片的長寬與坐標 ...................................................................................... 13 聲明按鈕 .............................................................................................................. 14 定時器以及 handler 多線程的定義 .................................................................... 14 打亂圖片 .............................................................................................................. 14 觸屏移動圖片 ...................................................................................................... 15 判斷玩家是否完成游戲 ...................................................................................... 16 計算得分 ............................................................................................................ 18 Web Service 上傳分數(shù)以及獲取排名的實現(xiàn) .................................................... 18 6 軟件測試 ........................................................ 20 游戲測試概述 ...............................