畢業(yè)設(shè)計(jì)(論文) 中國(guó)象棋網(wǎng)上對(duì)弈系統(tǒng).rar
畢業(yè)設(shè)計(jì)(論文) 中國(guó)象棋網(wǎng)上對(duì)弈系統(tǒng),摘要隨著信息技術(shù)的發(fā)展,人民生活水平的不斷提高。聯(lián)網(wǎng)游戲作為一種娛樂(lè)手段,正以其獨(dú)特的魅力吸引著越來(lái)越多的玩家。為了滿足廣大象棋愛(ài)好者也可以享受到網(wǎng)絡(luò)所帶來(lái)的便利,本設(shè)計(jì)在當(dāng)前局域網(wǎng)條件下實(shí)現(xiàn)了中國(guó)象棋的網(wǎng)絡(luò)對(duì)戰(zhàn)。鑒于局域網(wǎng)的特點(diǎn)和游戲本身的要求,本設(shè)計(jì)采用兩層c/s架構(gòu)來(lái)實(shí)現(xiàn)相互之間的通信。它主要包含以下幾大模塊:網(wǎng)...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會(huì)員 ljjwl8321 發(fā)布
摘要
隨著信息技術(shù)的發(fā)展,人民生活水平的不斷提高。聯(lián)網(wǎng)游戲作為一種娛樂(lè)手段,正以其獨(dú)特的魅力吸引著越來(lái)越多的玩家。為了滿足廣大象棋愛(ài)好者也可以享受到網(wǎng)絡(luò)所帶來(lái)的便利,本設(shè)計(jì)在當(dāng)前局域網(wǎng)條件下實(shí)現(xiàn)了中國(guó)象棋的網(wǎng)絡(luò)對(duì)戰(zhàn)。
鑒于局域網(wǎng)的特點(diǎn)和游戲本身的要求,本設(shè)計(jì)采用兩層C/S架構(gòu)來(lái)實(shí)現(xiàn)相互之間的通信。它主要包含以下幾大模塊:網(wǎng)絡(luò)通信模塊,圖像繪制模塊和規(guī)則設(shè)置模塊。網(wǎng)絡(luò)通信模塊使得玩家可以方便的迅速建立起網(wǎng)絡(luò)連接,從而實(shí)現(xiàn)聯(lián)機(jī)對(duì)弈和聊天功能;圖像繪制模塊實(shí)現(xiàn)棋盤更新以及棋子動(dòng)態(tài)表示等功能;規(guī)則設(shè)置模塊用于約束玩家的棋步。
電腦游戲是計(jì)算機(jī)應(yīng)用領(lǐng)域的一個(gè)重要主題,而當(dāng)前網(wǎng)上最熱門的休閑對(duì)戰(zhàn)類游戲當(dāng)屬棋牌游戲。通過(guò)對(duì)象棋的數(shù)據(jù)結(jié)構(gòu),相關(guān)算法與網(wǎng)絡(luò)聯(lián)機(jī),以及對(duì)網(wǎng)絡(luò)對(duì)戰(zhàn)平臺(tái)系統(tǒng)的分析,設(shè)計(jì)成一套基于VC++平臺(tái)的棋牌類對(duì)戰(zhàn)系統(tǒng)。
關(guān)鍵詞:網(wǎng)絡(luò)通信;聯(lián)機(jī)對(duì)弈;圖像繪制;消息響應(yīng)
CHINESE CHESS ONLINE GAME SYSTEM
Abstract
With the development of information technology, peoples standard of living have improved constantly. On-line game as a means of entertainment has a unique charm to attract more and more players. To meet chess lovers ,this design has realized the Challenges of Chinese-chess between players under the current LAN environment.
In view of the characteristics of local area networks and the requirements of the game itself, the design uses a two-tier C/S structure to achieve mutual communication. It contains the following major modules: the network communication module, image rendering module and the rules set up module. Network Communication Module allows gamers can quickly set up a convenient network connection in order to achieve an online game and chat function; image rendering module to update the board as well as functional pieces, such as the dynamic that; rules binding settings module for step-by-step player's game.
Computer games is the field of computer applications as an important subject, and present the most popular casual online games war among board games. By the data structure, algorithms and network online, as well as the network platform for systematic analysis of the war, designed a set of VC + + platform based on the category Card battle system.
Keywords: Network Communication; Online game; Image Rendering; Message Response
目 錄
摘要 I
Abstract II
1緒論 3
1.1課題背景 3
1.2課題發(fā)展概況 3
1.3本文主要工作 4
2系統(tǒng)介紹 5
2.1系統(tǒng)簡(jiǎn)介 5
2.2 系統(tǒng)構(gòu)成 5
2.3相關(guān)技術(shù) 5
2.3.1 點(diǎn)對(duì)點(diǎn)通信 5
2.3.2 TCP/IP協(xié)議 6
2.3.3 UPD基礎(chǔ) 7
2.3.4屏幕作圖與用戶交互 7
2.3.5遠(yuǎn)程控制原理 8
3設(shè)計(jì)與實(shí)現(xiàn) 9
3.1數(shù)據(jù)結(jié)構(gòu) 9
3.1.1棋盤 9
3.1.2棋子信息數(shù)組 10
3.1.3變量與函數(shù) 11
3.2圖像繪制 12
3.2.1主窗口 12
3.2.2棋盤的繪制 12
3.2.3棋子的繪制及初始化 13
3.2.4動(dòng)態(tài)顯示 14
3.2.5回看功能 15
3.3規(guī)則設(shè)置 15
3.3.1棋子規(guī)則 15
3.3.2規(guī)則算法 15
3.4網(wǎng)絡(luò)通信 17
3.4.1CCOM類 17
3.4.2數(shù)據(jù)代碼 18
3.4.3數(shù)據(jù)更新 19
3.4.4聊天功能 19
3.5棋子操作 20
3.5.1獲取點(diǎn)擊 20
3.5.2走棋判斷 21
3.5.3光標(biāo)變化 21
4總結(jié)與展望 23
4.1總結(jié) 23
4.2展望 23
參考文獻(xiàn) 24
致 謝 25
隨著信息技術(shù)的發(fā)展,人民生活水平的不斷提高。聯(lián)網(wǎng)游戲作為一種娛樂(lè)手段,正以其獨(dú)特的魅力吸引著越來(lái)越多的玩家。為了滿足廣大象棋愛(ài)好者也可以享受到網(wǎng)絡(luò)所帶來(lái)的便利,本設(shè)計(jì)在當(dāng)前局域網(wǎng)條件下實(shí)現(xiàn)了中國(guó)象棋的網(wǎng)絡(luò)對(duì)戰(zhàn)。
鑒于局域網(wǎng)的特點(diǎn)和游戲本身的要求,本設(shè)計(jì)采用兩層C/S架構(gòu)來(lái)實(shí)現(xiàn)相互之間的通信。它主要包含以下幾大模塊:網(wǎng)絡(luò)通信模塊,圖像繪制模塊和規(guī)則設(shè)置模塊。網(wǎng)絡(luò)通信模塊使得玩家可以方便的迅速建立起網(wǎng)絡(luò)連接,從而實(shí)現(xiàn)聯(lián)機(jī)對(duì)弈和聊天功能;圖像繪制模塊實(shí)現(xiàn)棋盤更新以及棋子動(dòng)態(tài)表示等功能;規(guī)則設(shè)置模塊用于約束玩家的棋步。
電腦游戲是計(jì)算機(jī)應(yīng)用領(lǐng)域的一個(gè)重要主題,而當(dāng)前網(wǎng)上最熱門的休閑對(duì)戰(zhàn)類游戲當(dāng)屬棋牌游戲。通過(guò)對(duì)象棋的數(shù)據(jù)結(jié)構(gòu),相關(guān)算法與網(wǎng)絡(luò)聯(lián)機(jī),以及對(duì)網(wǎng)絡(luò)對(duì)戰(zhàn)平臺(tái)系統(tǒng)的分析,設(shè)計(jì)成一套基于VC++平臺(tái)的棋牌類對(duì)戰(zhàn)系統(tǒng)。
關(guān)鍵詞:網(wǎng)絡(luò)通信;聯(lián)機(jī)對(duì)弈;圖像繪制;消息響應(yīng)
CHINESE CHESS ONLINE GAME SYSTEM
Abstract
With the development of information technology, peoples standard of living have improved constantly. On-line game as a means of entertainment has a unique charm to attract more and more players. To meet chess lovers ,this design has realized the Challenges of Chinese-chess between players under the current LAN environment.
In view of the characteristics of local area networks and the requirements of the game itself, the design uses a two-tier C/S structure to achieve mutual communication. It contains the following major modules: the network communication module, image rendering module and the rules set up module. Network Communication Module allows gamers can quickly set up a convenient network connection in order to achieve an online game and chat function; image rendering module to update the board as well as functional pieces, such as the dynamic that; rules binding settings module for step-by-step player's game.
Computer games is the field of computer applications as an important subject, and present the most popular casual online games war among board games. By the data structure, algorithms and network online, as well as the network platform for systematic analysis of the war, designed a set of VC + + platform based on the category Card battle system.
Keywords: Network Communication; Online game; Image Rendering; Message Response
目 錄
摘要 I
Abstract II
1緒論 3
1.1課題背景 3
1.2課題發(fā)展概況 3
1.3本文主要工作 4
2系統(tǒng)介紹 5
2.1系統(tǒng)簡(jiǎn)介 5
2.2 系統(tǒng)構(gòu)成 5
2.3相關(guān)技術(shù) 5
2.3.1 點(diǎn)對(duì)點(diǎn)通信 5
2.3.2 TCP/IP協(xié)議 6
2.3.3 UPD基礎(chǔ) 7
2.3.4屏幕作圖與用戶交互 7
2.3.5遠(yuǎn)程控制原理 8
3設(shè)計(jì)與實(shí)現(xiàn) 9
3.1數(shù)據(jù)結(jié)構(gòu) 9
3.1.1棋盤 9
3.1.2棋子信息數(shù)組 10
3.1.3變量與函數(shù) 11
3.2圖像繪制 12
3.2.1主窗口 12
3.2.2棋盤的繪制 12
3.2.3棋子的繪制及初始化 13
3.2.4動(dòng)態(tài)顯示 14
3.2.5回看功能 15
3.3規(guī)則設(shè)置 15
3.3.1棋子規(guī)則 15
3.3.2規(guī)則算法 15
3.4網(wǎng)絡(luò)通信 17
3.4.1CCOM類 17
3.4.2數(shù)據(jù)代碼 18
3.4.3數(shù)據(jù)更新 19
3.4.4聊天功能 19
3.5棋子操作 20
3.5.1獲取點(diǎn)擊 20
3.5.2走棋判斷 21
3.5.3光標(biāo)變化 21
4總結(jié)與展望 23
4.1總結(jié) 23
4.2展望 23
參考文獻(xiàn) 24
致 謝 25
TA們正在看...
- 關(guān)于規(guī)培護(hù)士個(gè)人總結(jié).doc
- 關(guān)于視頻監(jiān)控全覆蓋建設(shè)的幾點(diǎn)要求修改.doc
- 關(guān)于解決怒江問(wèn)題”有關(guān)政策、發(fā)展思路.doc
- 關(guān)于認(rèn)識(shí)鐘表的練習(xí)題.doc
- 關(guān)于設(shè)立合資公司的協(xié)議.doc
- 關(guān)于設(shè)置余壓閥的探討.doc
- 關(guān)于評(píng)選2011年度市級(jí)港城好少年.doc
- 關(guān)于語(yǔ)文課堂教學(xué)提問(wèn)的思考.doc
- 關(guān)于說(shuō)話技巧的十大書籍.doc
- 關(guān)于課堂互動(dòng)的思考.doc