資源描述:
《基于c++的掃雷游戲設計與實現(xiàn)》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學術(shù)論文-天天文庫。
1、武漢理工大學《C++》課程設計基于C++的經(jīng)典掃雷游戲程序設計目錄摘要······································································31、引言····································································41.1課題背景及意義·······················································41.2VisualC++發(fā)展概況···············
2、····································51.3關(guān)于本課題···························································62、游戲的總體分析與設計····················································72.1游戲功能簡介·························································72.2設計構(gòu)想································
3、·····························733武漢理工大學《C++》課程設計2.3流程規(guī)劃·····························································83、掃雷游戲的具體實現(xiàn)過程·················································93.1掃雷游戲模塊的實現(xiàn)···················································93.1.1掃雷游戲主窗體的創(chuàng)建··················
4、··························93.1.2主界面控制菜單的設計···········································133.2掃雷游戲核心-----布雷算法設計·········································133.3掃雷鼠標事件的處理··················································203.4掃雷其它處理·····················································
5、···273.4.1難度設置菜單消息處理···········································273.4.2背景音樂菜單消息處理···········································2833武漢理工大學《C++》課程設計3.4.3其它處理························································294、掃雷游戲程序的調(diào)試與運行···············································295、掃雷
6、游戲設計總結(jié)·······················································316、致謝···································································317、參考文獻·······························································32摘要游戲業(yè)發(fā)展一日千里,該行業(yè)極大的影響和改變了人們的生活和娛樂方式,游戲為消費者提供豐富多彩的虛擬空間,使消費者可以自由自在的享受虛擬世
7、界的樂趣,實現(xiàn)自己在現(xiàn)實生活著那個可能永遠不能實現(xiàn)的夢想,滿足了消費者的心理和精神需求。掃雷游戲是Windows操作系統(tǒng)自帶的一個小游戲,過去的幾年里Windows操作系統(tǒng)歷經(jīng)數(shù)次換代,變得越來越龐大、復雜,但這個可愛的小游戲在任何版本的Windows操作系統(tǒng)里去卻依然保持著原貌。但幾乎每個電腦使用者都接觸過它,并且深愛著這款小游戲。掃雷游戲是比較經(jīng)典的一款小游戲,實現(xiàn)它的方法很多,可以用很多不同算法和語言實現(xiàn),如C,C++,VB,JAVA等。本論文研究的是以VisualC++6.0為開發(fā)環(huán)境,設計并開發(fā)一款掃雷游戲,其功能類似于Windows操
8、作系統(tǒng)自帶的掃雷游戲。論文首先介紹了制作游戲的整體思路及整個游戲設計的流程規(guī)劃,然后介紹了雷區(qū)的布置及地雷隨機產(chǎn)生的實現(xiàn)方法33武漢理工