掃雷對(duì)戰(zhàn)游戲的設(shè)計(jì)與實(shí)現(xiàn)[獨(dú)家原創(chuàng)].doc
DOC格式手機(jī)打開展開
掃雷對(duì)戰(zhàn)游戲的設(shè)計(jì)與實(shí)現(xiàn)[獨(dú)家原創(chuàng)],掃雷對(duì)戰(zhàn)游戲的設(shè)計(jì)與實(shí)現(xiàn)1.12萬(wàn)字自己原創(chuàng)的畢業(yè)論文,已經(jīng)通過(guò)校內(nèi)系統(tǒng)檢測(cè),重復(fù)率低,僅在本站獨(dú)家出售,大家放心下載使用摘要 掃雷游戲是windows操作系統(tǒng)自帶的一款小游戲,但這款小游戲一直停留在單機(jī)運(yùn)行的情況下,無(wú)法與其他玩家聯(lián)網(wǎng)互動(dòng)。隨著計(jì)算機(jī)網(wǎng)絡(luò)的快速發(fā)展,具備互動(dòng)條件的游戲越來(lái)越受到人們的青睞。因此,開發(fā)一...
內(nèi)容介紹
此文檔由會(huì)員 淘寶大夢(mèng) 發(fā)布
掃雷對(duì)戰(zhàn)游戲的設(shè)計(jì)與實(shí)現(xiàn)
1.12萬(wàn)字
自己原創(chuàng)的畢業(yè)論文,已經(jīng)通過(guò)校內(nèi)系統(tǒng)檢測(cè),重復(fù)率低,僅在本站獨(dú)家出售,大家放心下載使用
摘要 掃雷游戲是Windows操作系統(tǒng)自帶的一款小游戲,但這款小游戲一直停留在單機(jī)運(yùn)行的情況下,無(wú)法與其他玩家聯(lián)網(wǎng)互動(dòng)。隨著計(jì)算機(jī)網(wǎng)絡(luò)的快速發(fā)展,具備互動(dòng)條件的游戲越來(lái)越受到人們的青睞。因此,開發(fā)一款掃雷對(duì)戰(zhàn)游戲能讓這款經(jīng)典游戲煥發(fā)新的時(shí)代光彩。
本論文研究的是以Visual Studio 2010作為開發(fā)工具,使用MFC設(shè)計(jì)并開發(fā)一款基于C/S架構(gòu)的掃雷對(duì)戰(zhàn)游戲。該游戲具有單機(jī)游戲功能和聯(lián)機(jī)對(duì)戰(zhàn)功能。單機(jī)游戲下具有英雄榜,背景音樂(lè)選擇,以及難度選擇功能;聯(lián)機(jī)功能可以實(shí)現(xiàn)2-4人聯(lián)網(wǎng)對(duì)戰(zhàn)游戲。系統(tǒng)的單人游戲功能主要采用系統(tǒng)的隨機(jī)函數(shù)生成雷區(qū),并對(duì)玩家鼠標(biāo)事件做出相應(yīng)處理,同時(shí)能自動(dòng)打開周圍不是地雷的格子。多人游戲功能采用Windows Sockets開發(fā),分為客戶端和服務(wù)器。服務(wù)器主要實(shí)現(xiàn)與客戶端的通信,通過(guò)對(duì)客戶端發(fā)來(lái)的數(shù)據(jù)包解析,做出相關(guān)處理。不同的客戶端通過(guò)服務(wù)器轉(zhuǎn)發(fā)游戲的相關(guān)控制信息,從而實(shí)現(xiàn)客戶端之間的通信。
該掃雷對(duì)戰(zhàn)游戲界面友好,操作簡(jiǎn)單方便,程序功能豐富,具有多種難度可供選擇。
關(guān)鍵字: 掃雷游戲 C/S架構(gòu) Socket編程
Design and Implementation of Minesweeper Battle Game
Abstract The Minesweeper is a small game came with Windows operating system, however, this game has been staying in a single operation, which are not connected to interact with other game player. With the rapid development of computer network, the interactive game is becoming more and more popular. Therefore, developing a minesweeper battle game can let this classic game full of new era.
The research of this paper is that using Visual Studio 2010 as a development tool and using MFC to design, I develop C/S architecture of the minesweeper battle game. The game has single game function and multiplayer function. In the single game, we can see the ranking list, chose the background music and select the degree of difficulty. In the multiplayer function, we can play the game with others together online. The single game function of system include using system random function to create mine fields , handling mouse events of players and automatically opening lattice where is not a mine around. The multiplayer function is developed by using Windows Sockets, consisting of the server and clients. By analyzing and dealing with the data packets from clients, the server communicates with the clients. By forwarding the information of game control through the server, the client communicates with other clients.
The Minesweeper battle game has user-friendly Interface; the operation of the game is simple and convenient; you can choose many program features including the degree of difficulty.
Keywords: minesweeper game C/S architecture Socket program
目 錄
第1章 緒 論 1
1.1 項(xiàng)目背景 1
1.2 意義 1
1.3 國(guó)內(nèi)外現(xiàn)狀分析 1
1.4 論文章節(jié)構(gòu)成 2
第2章 系統(tǒng)開發(fā)環(huán)境及相關(guān)技術(shù)介紹 3
2.1開發(fā)環(huán)境 3
2.2相關(guān)技術(shù) 3
第3章 掃雷對(duì)戰(zhàn)游戲系統(tǒng)分析 5
3.1需求分析 5
3.2可行性分析 6
第4章 掃雷對(duì)戰(zhàn)游戲系統(tǒng)設(shè)計(jì) 7
4.1系統(tǒng)總體設(shè)計(jì) 7
4.2 設(shè)計(jì)步驟流程 8
第5章 系統(tǒng)詳細(xì)設(shè)計(jì) 10
5.1 游戲主界面模塊 10
5.2單人游戲模塊 11
5.2.1游戲邏輯的設(shè)計(jì) 11
5.2.2 游戲界面的設(shè)計(jì) 14
5.3多人游戲模塊 17
5.3.1通信模塊的總體設(shè)計(jì) 17
5.3.2服務(wù)器設(shè)計(jì) 18
5.3.3客戶端設(shè)計(jì) 21
5.3.4服務(wù)器與客戶端的通信 24
結(jié)束語(yǔ) 26
致 謝 27
參 考 文 獻(xiàn) 28
1.12萬(wàn)字
自己原創(chuàng)的畢業(yè)論文,已經(jīng)通過(guò)校內(nèi)系統(tǒng)檢測(cè),重復(fù)率低,僅在本站獨(dú)家出售,大家放心下載使用
摘要 掃雷游戲是Windows操作系統(tǒng)自帶的一款小游戲,但這款小游戲一直停留在單機(jī)運(yùn)行的情況下,無(wú)法與其他玩家聯(lián)網(wǎng)互動(dòng)。隨著計(jì)算機(jī)網(wǎng)絡(luò)的快速發(fā)展,具備互動(dòng)條件的游戲越來(lái)越受到人們的青睞。因此,開發(fā)一款掃雷對(duì)戰(zhàn)游戲能讓這款經(jīng)典游戲煥發(fā)新的時(shí)代光彩。
本論文研究的是以Visual Studio 2010作為開發(fā)工具,使用MFC設(shè)計(jì)并開發(fā)一款基于C/S架構(gòu)的掃雷對(duì)戰(zhàn)游戲。該游戲具有單機(jī)游戲功能和聯(lián)機(jī)對(duì)戰(zhàn)功能。單機(jī)游戲下具有英雄榜,背景音樂(lè)選擇,以及難度選擇功能;聯(lián)機(jī)功能可以實(shí)現(xiàn)2-4人聯(lián)網(wǎng)對(duì)戰(zhàn)游戲。系統(tǒng)的單人游戲功能主要采用系統(tǒng)的隨機(jī)函數(shù)生成雷區(qū),并對(duì)玩家鼠標(biāo)事件做出相應(yīng)處理,同時(shí)能自動(dòng)打開周圍不是地雷的格子。多人游戲功能采用Windows Sockets開發(fā),分為客戶端和服務(wù)器。服務(wù)器主要實(shí)現(xiàn)與客戶端的通信,通過(guò)對(duì)客戶端發(fā)來(lái)的數(shù)據(jù)包解析,做出相關(guān)處理。不同的客戶端通過(guò)服務(wù)器轉(zhuǎn)發(fā)游戲的相關(guān)控制信息,從而實(shí)現(xiàn)客戶端之間的通信。
該掃雷對(duì)戰(zhàn)游戲界面友好,操作簡(jiǎn)單方便,程序功能豐富,具有多種難度可供選擇。
關(guān)鍵字: 掃雷游戲 C/S架構(gòu) Socket編程
Design and Implementation of Minesweeper Battle Game
Abstract The Minesweeper is a small game came with Windows operating system, however, this game has been staying in a single operation, which are not connected to interact with other game player. With the rapid development of computer network, the interactive game is becoming more and more popular. Therefore, developing a minesweeper battle game can let this classic game full of new era.
The research of this paper is that using Visual Studio 2010 as a development tool and using MFC to design, I develop C/S architecture of the minesweeper battle game. The game has single game function and multiplayer function. In the single game, we can see the ranking list, chose the background music and select the degree of difficulty. In the multiplayer function, we can play the game with others together online. The single game function of system include using system random function to create mine fields , handling mouse events of players and automatically opening lattice where is not a mine around. The multiplayer function is developed by using Windows Sockets, consisting of the server and clients. By analyzing and dealing with the data packets from clients, the server communicates with the clients. By forwarding the information of game control through the server, the client communicates with other clients.
The Minesweeper battle game has user-friendly Interface; the operation of the game is simple and convenient; you can choose many program features including the degree of difficulty.
Keywords: minesweeper game C/S architecture Socket program
目 錄
第1章 緒 論 1
1.1 項(xiàng)目背景 1
1.2 意義 1
1.3 國(guó)內(nèi)外現(xiàn)狀分析 1
1.4 論文章節(jié)構(gòu)成 2
第2章 系統(tǒng)開發(fā)環(huán)境及相關(guān)技術(shù)介紹 3
2.1開發(fā)環(huán)境 3
2.2相關(guān)技術(shù) 3
第3章 掃雷對(duì)戰(zhàn)游戲系統(tǒng)分析 5
3.1需求分析 5
3.2可行性分析 6
第4章 掃雷對(duì)戰(zhàn)游戲系統(tǒng)設(shè)計(jì) 7
4.1系統(tǒng)總體設(shè)計(jì) 7
4.2 設(shè)計(jì)步驟流程 8
第5章 系統(tǒng)詳細(xì)設(shè)計(jì) 10
5.1 游戲主界面模塊 10
5.2單人游戲模塊 11
5.2.1游戲邏輯的設(shè)計(jì) 11
5.2.2 游戲界面的設(shè)計(jì) 14
5.3多人游戲模塊 17
5.3.1通信模塊的總體設(shè)計(jì) 17
5.3.2服務(wù)器設(shè)計(jì) 18
5.3.3客戶端設(shè)計(jì) 21
5.3.4服務(wù)器與客戶端的通信 24
結(jié)束語(yǔ) 26
致 謝 27
參 考 文 獻(xiàn) 28
TA們正在看...
- 德育敘事——你聽,那是花開的聲音.doc
- 德育敘事——讓錯(cuò)誤生成美麗的花朵,用愛(ài)心塑造健...doc
- 德育小故事:學(xué)會(huì)合作.doc
- 德育小故事:陶行知獎(jiǎng)學(xué)生糖果.doc
- 德育工作之轉(zhuǎn)化后進(jìn)生案列.doc
- 德育工作成功案例.doc
- 德育工作班主任會(huì)議講話.doc
- 德育工作經(jīng)驗(yàn)交流材料:勤于引導(dǎo)張弛有.doc
- 德育工作經(jīng)驗(yàn)交流材料:潤(rùn)物細(xì)無(wú)聲.doc
- 德育工作經(jīng)驗(yàn)交流材料:班主任工作點(diǎn)滴思考.doc