基于java的中國象棋對弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文.doc
約32頁DOC格式手機(jī)打開展開
基于java的中國象棋對弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文,基于java的中國象棋對弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文摘 要網(wǎng)絡(luò)游戲是通過信息網(wǎng)絡(luò)傳播和實(shí)現(xiàn)的互動娛樂形式,是一種網(wǎng)絡(luò)與文化相結(jié)合的產(chǎn)業(yè)[1]。近年來,網(wǎng)絡(luò)文化市場發(fā)展非??欤S著互聯(lián)網(wǎng)的迅速普及、寬帶的接入社區(qū)和家庭,我國網(wǎng)絡(luò)游戲市場發(fā)展迅速,并進(jìn)入了一個(gè)高速增長期,已經(jīng)創(chuàng)造了較大的產(chǎn)值,帶動了相關(guān)產(chǎn)業(yè)的發(fā)展,對促進(jìn)我...
內(nèi)容介紹
此文檔由會員 g56176123 發(fā)布
基于JAVA的中國象棋對弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文
摘 要
網(wǎng)絡(luò)游戲是通過信息網(wǎng)絡(luò)傳播和實(shí)現(xiàn)的互動娛樂形式,是一種網(wǎng)絡(luò)與文化相結(jié)合的產(chǎn)業(yè)[1]。近年來,網(wǎng)絡(luò)文化市場發(fā)展非??欤S著互聯(lián)網(wǎng)的迅速普及、寬帶的接入社區(qū)和家庭,我國網(wǎng)絡(luò)游戲市場發(fā)展迅速,并進(jìn)入了一個(gè)高速增長期,已經(jīng)創(chuàng)造了較大的產(chǎn)值,帶動了相關(guān)產(chǎn)業(yè)的發(fā)展,對促進(jìn)我國網(wǎng)絡(luò)經(jīng)濟(jì)和娛樂業(yè)的發(fā)展、豐富互聯(lián)網(wǎng)時(shí)代人民群眾的文化娛樂生活起到了積極作用。休閑類網(wǎng)絡(luò)游戲集趣味性,娛樂性,互動性和益智性于一體,已經(jīng)成為多數(shù)人群的休閑方式。中國象棋是當(dāng)前非常流行的一種棋類游戲,它在我國的歷史可謂是源遠(yuǎn)流長,它不僅能增強(qiáng)思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性[2]。
本系統(tǒng)使用JAVA語言實(shí)現(xiàn),通過對SCOKET技術(shù)的理解,在此基礎(chǔ)上建立服務(wù)器與客戶端的連接,處理服務(wù)器與客戶端之間的信息。此中國象棋游戲能夠通過兩臺聯(lián)網(wǎng)的計(jì)算機(jī)實(shí)現(xiàn)異地間的雙人對弈。
本論文首先討論了開發(fā)此網(wǎng)絡(luò)游戲需要用到的JAVA技術(shù),接著對系統(tǒng)進(jìn)行了分析與設(shè)計(jì),然后對系統(tǒng)進(jìn)行了測試,最后對游戲的設(shè)計(jì)與開發(fā)進(jìn)行了總結(jié)和展望。
關(guān)鍵詞 中國象棋;網(wǎng)絡(luò)游戲;對弈
JAVA-BASED SYSTEM OF CHINESE
CHESS CHESS DESIGN AND IMPLEMENTATION
ABSTRACT
Online games is achieved through information dissemination and networking in the form of interactive entertainment, is a combination of network and cultural industries[1]. In recent years, network culture market very fast, with the rapid popularization of Internet, broadband access to communities and families, the rapid development of China's online game market, and entered a period of rapid growth, has created a larger output, driven development of relevant industries, to promote the economic and entertainment of our network development, and enrich people's culture, age of the Internet has played a positive role in entertainment. Set of casual game fun, entertaining, interactive and educational in one, has become the majority population of leisure. Chinese Chess is currently a very popular board games, it can be said in our long history, it can not only enhance the thinking ability, improve intelligence, and rich in philosophy will help self-cultivation[2].
The system uses the JAVA language, understood by SCOKET technology, in this based on server and client connections, processing between server and client information. The Chinese Chess game can be achieved by two networked computers in different places between the double chess.
This paper first discusses the development of this online games need to use JAVA technology, then the system analysis and design, and then tested the system, the final game design and development of a summary outlook.
KEY WORDS Chinese chess; online games; chess
摘 要 I
ABSTRACT II
目 錄 III
前言 1
1.JAVA相關(guān)技術(shù) 3
1.1 JAVA技術(shù)的簡介 3
1.1.1Java語言的起源 3
1.1.2Java語言的發(fā)展前景 3
1.1.3Java語言的概述 3
1.2 JAVA語言的特點(diǎn) 4
1.3 JAVA的開發(fā)環(huán)境 6
1.3.1系統(tǒng)的開發(fā)環(huán)境 6
1.3.2Java的安裝步驟 6
2.系統(tǒng)的分析 7
2.1系統(tǒng)的需求分析 7
2.2系統(tǒng)的可行性分析 8
2.3系統(tǒng)的用例圖 9
2.4系統(tǒng)的領(lǐng)域類圖 9
3.系統(tǒng)的設(shè)計(jì) 10
3.1總體設(shè)計(jì) 10
3.1.1系統(tǒng)目標(biāo) 10
3.1.2系統(tǒng)總體設(shè)計(jì)思路 10
3.1.3系統(tǒng)功能結(jié)構(gòu)分析 11
3.2詳細(xì)設(shè)計(jì) 11
3.2.1服務(wù)器端的設(shè)計(jì) 11
3.2.2服務(wù)器線程的編程模型 12
3.2.3服務(wù)器代理線程的設(shè)計(jì) 12
3.2.4棋子類的設(shè)計(jì) 13
3.2.5客戶端的設(shè)計(jì) 14
3.2.6客戶端代理線程的設(shè)計(jì) 14
3.2.7規(guī)則類的設(shè)計(jì) 15
3.2.8棋盤類的設(shè)計(jì) 18
4.系統(tǒng)的運(yùn)行 21
4.1服務(wù)器端界面 21
4.1.1服務(wù)器啟動界面 21
4.1.2服務(wù)器端顯示在線用戶的信息 21
4.2客戶端界面 22
4.2.1客戶端連接服務(wù)器截圖 22
4.2.2選擇玩家進(jìn)行挑戰(zhàn)的截圖 22
4.2.3接受或者拒絕挑戰(zhàn)的截圖 23
4.2.4對方忙碌中的截圖 23
4.2.5對方認(rèn)輸后的截圖 24
5.總結(jié)展望 25
5.1本文總結(jié) 25
5.2工作展望 25
參考文獻(xiàn) 26
致謝 27
摘 要
網(wǎng)絡(luò)游戲是通過信息網(wǎng)絡(luò)傳播和實(shí)現(xiàn)的互動娛樂形式,是一種網(wǎng)絡(luò)與文化相結(jié)合的產(chǎn)業(yè)[1]。近年來,網(wǎng)絡(luò)文化市場發(fā)展非??欤S著互聯(lián)網(wǎng)的迅速普及、寬帶的接入社區(qū)和家庭,我國網(wǎng)絡(luò)游戲市場發(fā)展迅速,并進(jìn)入了一個(gè)高速增長期,已經(jīng)創(chuàng)造了較大的產(chǎn)值,帶動了相關(guān)產(chǎn)業(yè)的發(fā)展,對促進(jìn)我國網(wǎng)絡(luò)經(jīng)濟(jì)和娛樂業(yè)的發(fā)展、豐富互聯(lián)網(wǎng)時(shí)代人民群眾的文化娛樂生活起到了積極作用。休閑類網(wǎng)絡(luò)游戲集趣味性,娛樂性,互動性和益智性于一體,已經(jīng)成為多數(shù)人群的休閑方式。中國象棋是當(dāng)前非常流行的一種棋類游戲,它在我國的歷史可謂是源遠(yuǎn)流長,它不僅能增強(qiáng)思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性[2]。
本系統(tǒng)使用JAVA語言實(shí)現(xiàn),通過對SCOKET技術(shù)的理解,在此基礎(chǔ)上建立服務(wù)器與客戶端的連接,處理服務(wù)器與客戶端之間的信息。此中國象棋游戲能夠通過兩臺聯(lián)網(wǎng)的計(jì)算機(jī)實(shí)現(xiàn)異地間的雙人對弈。
本論文首先討論了開發(fā)此網(wǎng)絡(luò)游戲需要用到的JAVA技術(shù),接著對系統(tǒng)進(jìn)行了分析與設(shè)計(jì),然后對系統(tǒng)進(jìn)行了測試,最后對游戲的設(shè)計(jì)與開發(fā)進(jìn)行了總結(jié)和展望。
關(guān)鍵詞 中國象棋;網(wǎng)絡(luò)游戲;對弈
JAVA-BASED SYSTEM OF CHINESE
CHESS CHESS DESIGN AND IMPLEMENTATION
ABSTRACT
Online games is achieved through information dissemination and networking in the form of interactive entertainment, is a combination of network and cultural industries[1]. In recent years, network culture market very fast, with the rapid popularization of Internet, broadband access to communities and families, the rapid development of China's online game market, and entered a period of rapid growth, has created a larger output, driven development of relevant industries, to promote the economic and entertainment of our network development, and enrich people's culture, age of the Internet has played a positive role in entertainment. Set of casual game fun, entertaining, interactive and educational in one, has become the majority population of leisure. Chinese Chess is currently a very popular board games, it can be said in our long history, it can not only enhance the thinking ability, improve intelligence, and rich in philosophy will help self-cultivation[2].
The system uses the JAVA language, understood by SCOKET technology, in this based on server and client connections, processing between server and client information. The Chinese Chess game can be achieved by two networked computers in different places between the double chess.
This paper first discusses the development of this online games need to use JAVA technology, then the system analysis and design, and then tested the system, the final game design and development of a summary outlook.
KEY WORDS Chinese chess; online games; chess
摘 要 I
ABSTRACT II
目 錄 III
前言 1
1.JAVA相關(guān)技術(shù) 3
1.1 JAVA技術(shù)的簡介 3
1.1.1Java語言的起源 3
1.1.2Java語言的發(fā)展前景 3
1.1.3Java語言的概述 3
1.2 JAVA語言的特點(diǎn) 4
1.3 JAVA的開發(fā)環(huán)境 6
1.3.1系統(tǒng)的開發(fā)環(huán)境 6
1.3.2Java的安裝步驟 6
2.系統(tǒng)的分析 7
2.1系統(tǒng)的需求分析 7
2.2系統(tǒng)的可行性分析 8
2.3系統(tǒng)的用例圖 9
2.4系統(tǒng)的領(lǐng)域類圖 9
3.系統(tǒng)的設(shè)計(jì) 10
3.1總體設(shè)計(jì) 10
3.1.1系統(tǒng)目標(biāo) 10
3.1.2系統(tǒng)總體設(shè)計(jì)思路 10
3.1.3系統(tǒng)功能結(jié)構(gòu)分析 11
3.2詳細(xì)設(shè)計(jì) 11
3.2.1服務(wù)器端的設(shè)計(jì) 11
3.2.2服務(wù)器線程的編程模型 12
3.2.3服務(wù)器代理線程的設(shè)計(jì) 12
3.2.4棋子類的設(shè)計(jì) 13
3.2.5客戶端的設(shè)計(jì) 14
3.2.6客戶端代理線程的設(shè)計(jì) 14
3.2.7規(guī)則類的設(shè)計(jì) 15
3.2.8棋盤類的設(shè)計(jì) 18
4.系統(tǒng)的運(yùn)行 21
4.1服務(wù)器端界面 21
4.1.1服務(wù)器啟動界面 21
4.1.2服務(wù)器端顯示在線用戶的信息 21
4.2客戶端界面 22
4.2.1客戶端連接服務(wù)器截圖 22
4.2.2選擇玩家進(jìn)行挑戰(zhàn)的截圖 22
4.2.3接受或者拒絕挑戰(zhàn)的截圖 23
4.2.4對方忙碌中的截圖 23
4.2.5對方認(rèn)輸后的截圖 24
5.總結(jié)展望 25
5.1本文總結(jié) 25
5.2工作展望 25
參考文獻(xiàn) 26
致謝 27
TA們正在看...
- qjq3409-2006方向盤譆@.doc
- qjq3429-2010聚丙烯方向盤.doc
- zgx-j0001-2008港口集裝箱碼頭分級標(biāo)準(zhǔn).doc
- zgxjf-j0002-2009超限箱裝卸工藝規(guī)程.doc
- 小車砼料斗設(shè)計(jì).dwg
- db31329.11-2009重點(diǎn)單位重要部位安全技術(shù)防范系統(tǒng)...doc
- db321603-2010噸鋼可比能耗限額和電爐鋼冶煉電耗限...doc
- db32t1212-2008運(yùn)動場地合成面層材料抗滑值的測定.doc
- db32t1213-2008運(yùn)動場地合成面層材料沖擊吸收測定.doc
- db32t1214-2008運(yùn)動場地合成面層材料垂直變形的測定.doc