【正文】
........................... 14 系統(tǒng)開發(fā)及運(yùn)行環(huán)境 .............................................................................................. 15 系統(tǒng)主要功能要求 .................................................................................................. 16 系統(tǒng)的詳細(xì) 設(shè)計 ................................................................................................................. 16 PuzzleGame 類 ...................................................................................................... 16 PuzzlePad 類 .......................................................................................................... 19 Black 類 ................................................................................................................. 21 Point 類 .................................................................................................................. 22 HandleImage 類 ..................................................................................................... 24 HangleMove 類 ...................................................................................................... 25 VerifySuccess 類 .................................................................................................... 27 第三章 魔板游戲系統(tǒng)的具體實(shí)現(xiàn) .................................................................................... 29 游戲主類的設(shè)計 ................................................................................................................. 29 魔板對象的實(shí)現(xiàn) ................................................................................................................. 30 游戲使用時間的設(shè)計 ......................................................................................................... 32 游戲成功與否的判斷設(shè)計 ................................................................................................. 33 程序設(shè)計及調(diào)試運(yùn)行 ......................................................................................................... 34 第四章 添加新功能 ............................................................................................................ 35 增加英雄榜功能 ................................................................................................................. 35 增加查看英雄榜功能 ......................................................................................................... 36 2022 級程序設(shè)計綜合實(shí)驗(yàn)報告 6 增加背景音樂功能 ............................................................................................................. 37 增加登錄界面功能 ............................................................................................................. 37 第五章 結(jié)束語 .................................................................................................................... 38 致謝 ........................................................................................................................................... 39 參考文獻(xiàn): ................................................................................................................................ 40 附錄:源代碼 ............................................................................................................................ 41 PuzzleGame ....................................................................................................................... 41 ................................................................................................................... 43 .......................................................................................................................... 46 ........................................................................................................................... 46 .............................................................................................................. 47 ............................................................................................................... 47 ............................................................................................................. 49 ........................................................................................................................ 50 ............................................................................................................... 51 .......................................................................................................................... 53 ................................................................................................................... 54 2022 級程序設(shè)計綜合實(shí)驗(yàn)報告 7 摘要 一種較 “ 捉放曹 ” 玩耍方式多,游戲可易可難,且功能多的智力魔板,它由具有邊框及活動檔板的魔盤和若干塊兩面都印有圖案 或者數(shù)字 的魔板組成。各魔板兩面的圖案分別 數(shù)字 表示其序號。游戲時可隨意調(diào)節(jié)魔盤的使用面積和自由布題,然后滑動魔板,使故事情節(jié)展現(xiàn)在眼 前,即使智力較低的幼兒,也可看圖說話、講故事和做拼圖、排畫等智力積木游戲。使其啟迪思維、開發(fā)智力。 我們用java 語言編寫的游戲可以完成對數(shù)字、圖案的一個游戲,設(shè)計調(diào)用一些類以及類方法來完成我們的設(shè)計目的。 關(guān)鍵字:智力魔板、游戲、 java、開發(fā)智力 2022 級程序設(shè)計綜合實(shí)驗(yàn)報告 8 ABSTRACT A relatively catch put cao play, the game can be easy way can be difficult, and the intelligence function is much, it MoBan have borders and activities by the baffle plate and several blocks demons with both sides of the MoBan pattern or digital. The two sides MoBan pattern of digital said its serial number respectively. Games can be adjusted as the use of magic plate area and free cloth, and then sliding MoBan problem, make the story unfolded in front of their eyes, even if intelligence lower kindergarten, also can speak, told stories and pictures do puzzles, row painting and other intelligence board games. Make its enlightenment thinking, and developing intelligence. We use Java language games written for digital, design can be pleted in a game, design