【正文】
,只有投資預計能帶來利潤的系統(tǒng)才值得進一步去考慮。設計開發(fā)中一直注重系統(tǒng)操作的簡單方便,操作方式都非常人性化,由于 Android可以和 Eclipse 配置開發(fā)環(huán)境,且開發(fā)環(huán)境為開源的,所以操作上是可行的。 數(shù)據(jù)庫設計 ER 圖提供了表示實體型、屬性和聯(lián)系的方法: 實體型:用矩形表示,矩形內寫明實體名。根據(jù)需要,設計了一個數(shù)據(jù)表。 1 為地圖上能走的通道, 0 為墻。如圖 所示: 圖 用戶選擇 中北大學 2021 屆畢業(yè)設計說明書 第 19 頁 共 42 頁 關卡選擇界面 關卡一共分為十關,每關難度不同,每通一關都會有通關獎勵 。 ( 1) 游戲角色不能觸碰到怪物,觸碰到怪物即為失敗。 ( 1)服務端 服務端代碼如圖 所示。 ( 2) 客戶端 當用戶在游戲的用戶注冊頁面,點擊 “Register”按鈕后,程序將調用 void regPressed(CCObject*,CCControlEvent)函數(shù),函數(shù)代碼如圖 所示。 Update 語句用于修改表中的數(shù)據(jù)。xiaoming39。 Select 的語法是 SELECT 列名稱 FROM 表名稱 SELECT * FROM 表名稱 例如: Seclect username,score from Users 每個用戶玩完游戲后都會生成自己的積分,然后積分上傳到 score 里, score 里 的積分會按從大到小的順序排名,然后用戶通過查詢會得到自己的積分排名。如果用戶名存在,并且密碼正確,則用戶登錄成功,此時則返回 true,否則,返回 false。 ( 3)以深度優(yōu)先的方式搜索解空間,并且在搜索過程中用剪枝函數(shù)避免無效搜索。在當 中北大學 2021 屆畢業(yè)設計說明書 第 27 頁 共 42 頁 前的擴展結點處 ,搜索向縱深方向移至一個新結點?;厮莘匆赃@種工作方式遞歸地在解空間中搜索,直至找到所要求的解或解空間中已沒有活結點時為止。 注冊功能測試 當輸入 UserName 為 CHEN, PassWord 為 123456 時,點 Register 注冊成功。 如圖 所示: 圖 注冊功能測試 中北大學 2021 屆畢業(yè)設計說明書 第 29 頁 共 42 頁 圖 注冊成 功 圖 注冊失敗 關卡選擇功能測試 當?shù)卿洺晒r,進入游戲選擇界面,有三個選項,分別為 Start Game,High Score 和 中北大學 2021 屆畢業(yè)設計說明書 第 30 頁 共 42 頁 Exit Game。 如圖 所示: 圖 關卡選擇功能測試 游戲測試 當進入游戲界面,怪物會隨著角色的移動而選擇路徑 ,追蹤算法功能運行正常。 如圖 所示: 中北大學 2021 屆畢業(yè)設計說明書 第 31 頁 共 42 頁 圖 游戲第一關測試 圖 游戲第三關測試 中北大學 2021 屆畢業(yè)設計說明書 第 32 頁 共 42 頁 圖 游戲結束測試 積分排名測試 當使用 test 用戶游戲結束時 Score 為 1800,當使用 CHEN 用戶游戲結束時, Score為 1300,積分排名。 在此次逃生游戲的開發(fā)與設計中,首先我學會并熟悉掌握了搭建 Eclipse 和 Android開發(fā)環(huán)境的步驟,然后逐漸的在編寫程序,修改程序中的錯誤,現(xiàn)在雖然基本已經完 成所有功能,但肯定還有很多不足,而且我也發(fā)現(xiàn)自己數(shù)據(jù)庫方面的知識很欠缺,需要不斷的加強。 left_life++。 } Manager* Manager::shareManager() { if(instance == NULL) { instance = new Manager()。 } } void Manager::setLevel(int level) { if(level 10 amp。 } } int Manager::getLevel() { return m_level。 LEVEL map = level[m_level]。 ret = true。 [ + 1][] 0) 中北大學 2021 屆畢業(yè)設計說明書 第 36 頁 共 42 頁 { ++。amp。 case right: if( 15 amp。 } break。 } Manager::POINT Manager::getMonster() { 中北大學 2021 屆畢業(yè)設計說明書 第 37 頁 共 42 頁 return monster。 int index = 0。 i++) { if( ways[i]size() len ) { len = ways[i]size()。 else ret = (*ways[index])[0]。 } = 。 == ) { left_life 。 } void Manager::findWay(POINT pos, POINT target) { (pos)。 ()。 if(tmp_map[y][x] == 1) tmp_map[y][x] = 2。 i++) { if(tmp_point[i].x = 0 amp。 tmp_point[i].y = 0 amp。 tmp_map[tmp_point[i].y][tmp_point[i].x] == 1 ) { findWay(tmp_point[i],target)。 } 中北大學 2021 屆畢業(yè)設計說明書 第 40 頁 共 42 頁 參 考 文 獻 [1] 李剛 . 瘋狂 Android 講義 [M]. 北京:電子工業(yè)出版社 . 2021 [2] 葉達峰編著 .Eclipse 編程技術與實例 [M]. 人民郵電出版社 , 2021 [3] 孟曉龍 . Win7 系統(tǒng)下 Android 開發(fā)平臺的搭建 [J]. 科協(xié)論壇 (下半月 ). 2021(08) [4] 陳淮 . 基于 Android 游戲開發(fā)中常用類庫的設計與實現(xiàn) [D]. 西安電子科技大學 2021 [5] 公磊 ,周聰 .基于 Android 的移動終端應用程序開發(fā)與研究 [J].計算機與現(xiàn)代化 . 2021(08) [6] 朱成亮 . 基于 Android 平臺游戲引擎的設計與實現(xiàn) [D]. 安徽理工大學 2021 [7] 韓曼娜 . 移動電子商務的 APP 浪潮 [N]. 電腦報 . 20210704 (A04) [8] 李曉延 . 手機操作系統(tǒng)的戰(zhàn)國時代 [J]. 今日電子 . 2021(09) [9] 胡強 . Android 野蠻增長背后沒有大贏家 [N]. 通信產業(yè)報 . 20211206 (037) [10] 武曉黎 . 安卓的春天危機隱現(xiàn) [N]. 中國消費者報 . 20210330 (C04) [11] 張炯 . 手機操作系統(tǒng)變局 [J]. 互聯(lián)網(wǎng)周刊 . 2021(Z1) [12] 藍齊 . 找不到 Android 業(yè)務模式戴爾徹底放棄智能手機 [J]. IT 時代周刊 . 2021(01) [13] 張鵬 . 中國企業(yè)為什么青睞 Android?[J]. 通信世界 . 2021(03) [14] Android 五年內將主導智能手機市場 [N]. 中國計算機報 . 20210425 (001) [15] 黃惠欽 . 安卓流量使用超越蘋果 IOS 豐富應用成就優(yōu)勢地位 [N]. 通信信息報 . 20210608 (B12) [16] (美) Marty Hall, Larry Brown. Servlet 與 JSP 核心編程(第二版) .趙學良譯 清華大學出版社 .. [17] 克曼特內呢( Satye Komatineni),麥克萊恩( Dave MacLean),哈希來( Sayed Hashimi) .移動開發(fā)系列 Pro Android 人民郵電出版社 .. [18] Rick Rogers, Blake Meike , Zigurd Mednieks .Android 應用開發(fā) 李耀亮譯 .人民郵電出版社 .. [19] KEN ARNOLD, JAMES GOSLING, DAVID HOLMES:JAVA PROGRAMMING LANGUAGE [M], POSTS amp。無論在理論上還是在實踐 中,都給予我無私的幫助和悉心的教導,使我的畢業(yè)設計得以順利地按時完成。t agree with the disciplinary action your employer has taken against you your employer dismisses you and you think th at you have been dismissed unfairly. For more informu, take advice from one of the anisations listed under Fur ther help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. ation about dismissal and unfair dismissal, see Dismissal. You can make a claim to an employment tribunal, even if you haven39。s 150th anniversary celebrations and will attend City39。s governing body, has also ordered an immediate investigation into the referee39?;蛟S是愧疚于自己似乎把轉瞬即逝的很多個不同的日子過成了同一天的樣子;或許是追溯過去,對自己那些近乎偏執(zhí)的怪異信念的醒悟,這些天以來,思緒一直很凌亂,在腦海中不斷糾纏。 Junior high school, thought to have a crush on just means that the real growth, but over the past three years later, his writing of alumni in peace, suddenly found that isn39。t remember his appearance. Baumgartner the disappointing news: Mission aborted. r plays an important role in this mission. Starting at the ground, conditions have to be very calm winds less than 2 mph, with no precipitation or humidity and limited cloud cover. The balloon, with capsule attached, will move through the lower level of the atmosphere (the troposphere) where our daytoday weather lives. It will climb higher than the tip of Mount Everest ( miles/ kilometers), drifting even higher than the cruising altitude of mercial airliners ( miles/ kilometers) and into the stratosphere. As he crosses the boundary layer (called the tropopause),e can expect a lot of turbulence. We often close ourselves off when traumatic events happen in our li