網(wǎng)絡(luò)五子棋軟件的設(shè)計與實現(xiàn).doc
約58頁DOC格式手機打開展開
網(wǎng)絡(luò)五子棋軟件的設(shè)計與實現(xiàn),頁數(shù) 58 字?jǐn)?shù) 18849摘要 1997年,伴隨著計算機技術(shù)和網(wǎng)絡(luò)技術(shù)的發(fā)展,世界第一款圖形化網(wǎng)絡(luò)游戲《網(wǎng)絡(luò)創(chuàng)世紀(jì)》問世。挾計算機與網(wǎng)絡(luò)技術(shù)之高精尖,融傳統(tǒng)視聽與數(shù)碼娛樂之精華,集娛樂性、競技性、仿真性、互動性于一體,《網(wǎng)絡(luò)創(chuàng)世紀(jì)》迅速風(fēng)靡全球,備受青睞。 自此拉開了網(wǎng)絡(luò)游戲的序幕。五子棋...
內(nèi)容介紹
此文檔由會員 張陽陽 發(fā)布
網(wǎng)絡(luò)五子棋軟件的設(shè)計與實現(xiàn)
頁數(shù) 58 字?jǐn)?shù) 18849
摘要
1997年,伴隨著計算機技術(shù)和網(wǎng)絡(luò)技術(shù)的發(fā)展,世界第一款圖形化網(wǎng)絡(luò)游戲《網(wǎng)絡(luò)創(chuàng)世紀(jì)》問世。挾計算機與網(wǎng)絡(luò)技術(shù)之高精尖,融傳統(tǒng)視聽與數(shù)碼娛樂之精華,集娛樂性、競技性、仿真性、互動性于一體,《網(wǎng)絡(luò)創(chuàng)世紀(jì)》迅速風(fēng)靡全球,備受青睞。 自此拉開了網(wǎng)絡(luò)游戲的序幕。
五子棋在我國的歷史可謂是源遠(yuǎn)流長,喜愛它的玩家也是大有人在。但目前的五子棋軟件一般都是單機版的,游戲無法在異地的玩家之間進行。基于上述原因,本人決定以當(dāng)今廣為流行五子棋軟件為模版,以Microsoft公司的 Visual Basic程序設(shè)計語言為工具,結(jié)合軟件工程的思路開發(fā)一款基于網(wǎng)絡(luò)的五子棋對弈軟件。
網(wǎng)絡(luò)五子棋軟件能夠通過兩臺聯(lián)網(wǎng)的計算機實現(xiàn)異地間的雙人對弈。并提供了更換棋盤背景圖片,播放背景音樂,以及“和棋”、“認(rèn)輸”、“悔棋”等功能。
關(guān)鍵詞 五子棋,VB,網(wǎng)絡(luò)
Abstract
1997,with the development of the technology of the computer and network technology,world first graphic network game“the network created century” came out.Taking all of the computer and network technology high-grade,precision and advanced,base on essential part of traditional seeing and hearing digital skills,collecting recreational,sports,emulation,interdynamic in an organic whole,“the network creates century”sweeps the whole world rapidly.Since this has raised the curtain for network game.
Renju game history in our country may be of long standing and well established,and so many players enjoy it.But most Renju game software are disigned for single computer,player couldn't play with others in distance.Because of above mentioned reasons,I decide to design a new one which support network using the traditonal Renju game software as framework.Visual Basic programming language of Microsoft Company and software engineering will be used in this project.
Network Renju game software realize two computer users playing through network.Changing the background picture of chess board ,broadcasting the background music and some special functions , such as “giving up”,“retracting a false move”,etc.. will be available.
key words Renju、VB、Network
目 錄
第一章 概述.....................................................1
1.1 五子棋的歷史.............................................1
1.2 傳統(tǒng)五子棋軟件與網(wǎng)絡(luò)五子棋軟件的異同.....................1
第二章 網(wǎng)絡(luò)五子棋軟件的需求分析與總體設(shè)計..................3
2.1 需求分析..................................................3
2.2 總體設(shè)計..................................................4
第三章 通信的基本原理以及編程語言的選擇....................5
3.1 TCP/IP參考模型............................................5
3.2 管套Socket與Winsock......................................6
3.3 通信協(xié)議的選擇............................................6
3.4 編程語言的選擇............................................7
第四章 網(wǎng)絡(luò)五子棋軟件的詳細(xì)設(shè)計.............................8
4.1 界面......................................................8
4.2 設(shè)置.....................................................12
4.3 規(guī)則.....................................................13
4.4 按鈕功能的實現(xiàn)...........................................17
4.5 棋盤.....................................................20
4.6 倒數(shù)計時器...............................................24
4.7 戰(zhàn)況.....................................................26
4.8 背景.....................................................26
4.9 棋盤坐標(biāo).................................................26
4.10 背景音樂................................................27
4.11 顯示數(shù)字................................................27
4.12 狀態(tài)欄..................................................28
4.13 菜單....................................................28
第五章 網(wǎng)絡(luò)五子棋軟件的測試.................................30
5.1 問題的發(fā)現(xiàn)...............................................30
5.2 問題的解決...............................................30第六章 結(jié)論及體會.............................................31
6.1 不足與改進...............................................31
6.2 經(jīng)驗總結(jié).................................................31
6.3 開發(fā)體會.................................................32
參考文獻(xiàn).......................................................33
附錄一 源代碼.................................................34
參考文獻(xiàn)
1. 鄭人杰、殷人昆,《軟件工程概論》,清華大學(xué)出版社,1998
2. 孫炳文,《精通Visual Basic 6.0中文版》,電子工業(yè)出版社1999
1. MicrosoftCorporation,《Visual Basic 6.0中文版語言參考手冊》,北京希望電腦公司,1998
2. MicrosoftCorporation,《Visual Basic 6.0中文程序員指南》,北京希望電腦公司,1998
4. MicrosoftCorporation,《Visual Basic 6.0控件參考手冊》,北京希望電腦公司 MicrosoftCorporation,1998
頁數(shù) 58 字?jǐn)?shù) 18849
摘要
1997年,伴隨著計算機技術(shù)和網(wǎng)絡(luò)技術(shù)的發(fā)展,世界第一款圖形化網(wǎng)絡(luò)游戲《網(wǎng)絡(luò)創(chuàng)世紀(jì)》問世。挾計算機與網(wǎng)絡(luò)技術(shù)之高精尖,融傳統(tǒng)視聽與數(shù)碼娛樂之精華,集娛樂性、競技性、仿真性、互動性于一體,《網(wǎng)絡(luò)創(chuàng)世紀(jì)》迅速風(fēng)靡全球,備受青睞。 自此拉開了網(wǎng)絡(luò)游戲的序幕。
五子棋在我國的歷史可謂是源遠(yuǎn)流長,喜愛它的玩家也是大有人在。但目前的五子棋軟件一般都是單機版的,游戲無法在異地的玩家之間進行。基于上述原因,本人決定以當(dāng)今廣為流行五子棋軟件為模版,以Microsoft公司的 Visual Basic程序設(shè)計語言為工具,結(jié)合軟件工程的思路開發(fā)一款基于網(wǎng)絡(luò)的五子棋對弈軟件。
網(wǎng)絡(luò)五子棋軟件能夠通過兩臺聯(lián)網(wǎng)的計算機實現(xiàn)異地間的雙人對弈。并提供了更換棋盤背景圖片,播放背景音樂,以及“和棋”、“認(rèn)輸”、“悔棋”等功能。
關(guān)鍵詞 五子棋,VB,網(wǎng)絡(luò)
Abstract
1997,with the development of the technology of the computer and network technology,world first graphic network game“the network created century” came out.Taking all of the computer and network technology high-grade,precision and advanced,base on essential part of traditional seeing and hearing digital skills,collecting recreational,sports,emulation,interdynamic in an organic whole,“the network creates century”sweeps the whole world rapidly.Since this has raised the curtain for network game.
Renju game history in our country may be of long standing and well established,and so many players enjoy it.But most Renju game software are disigned for single computer,player couldn't play with others in distance.Because of above mentioned reasons,I decide to design a new one which support network using the traditonal Renju game software as framework.Visual Basic programming language of Microsoft Company and software engineering will be used in this project.
Network Renju game software realize two computer users playing through network.Changing the background picture of chess board ,broadcasting the background music and some special functions , such as “giving up”,“retracting a false move”,etc.. will be available.
key words Renju、VB、Network
目 錄
第一章 概述.....................................................1
1.1 五子棋的歷史.............................................1
1.2 傳統(tǒng)五子棋軟件與網(wǎng)絡(luò)五子棋軟件的異同.....................1
第二章 網(wǎng)絡(luò)五子棋軟件的需求分析與總體設(shè)計..................3
2.1 需求分析..................................................3
2.2 總體設(shè)計..................................................4
第三章 通信的基本原理以及編程語言的選擇....................5
3.1 TCP/IP參考模型............................................5
3.2 管套Socket與Winsock......................................6
3.3 通信協(xié)議的選擇............................................6
3.4 編程語言的選擇............................................7
第四章 網(wǎng)絡(luò)五子棋軟件的詳細(xì)設(shè)計.............................8
4.1 界面......................................................8
4.2 設(shè)置.....................................................12
4.3 規(guī)則.....................................................13
4.4 按鈕功能的實現(xiàn)...........................................17
4.5 棋盤.....................................................20
4.6 倒數(shù)計時器...............................................24
4.7 戰(zhàn)況.....................................................26
4.8 背景.....................................................26
4.9 棋盤坐標(biāo).................................................26
4.10 背景音樂................................................27
4.11 顯示數(shù)字................................................27
4.12 狀態(tài)欄..................................................28
4.13 菜單....................................................28
第五章 網(wǎng)絡(luò)五子棋軟件的測試.................................30
5.1 問題的發(fā)現(xiàn)...............................................30
5.2 問題的解決...............................................30第六章 結(jié)論及體會.............................................31
6.1 不足與改進...............................................31
6.2 經(jīng)驗總結(jié).................................................31
6.3 開發(fā)體會.................................................32
參考文獻(xiàn).......................................................33
附錄一 源代碼.................................................34
參考文獻(xiàn)
1. 鄭人杰、殷人昆,《軟件工程概論》,清華大學(xué)出版社,1998
2. 孫炳文,《精通Visual Basic 6.0中文版》,電子工業(yè)出版社1999
1. MicrosoftCorporation,《Visual Basic 6.0中文版語言參考手冊》,北京希望電腦公司,1998
2. MicrosoftCorporation,《Visual Basic 6.0中文程序員指南》,北京希望電腦公司,1998
4. MicrosoftCorporation,《Visual Basic 6.0控件參考手冊》,北京希望電腦公司 MicrosoftCorporation,1998