基于java的中國(guó)象棋對(duì)弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文.doc
約32頁DOC格式手機(jī)打開展開
基于java的中國(guó)象棋對(duì)弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文,基于java的中國(guó)象棋對(duì)弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文摘 要網(wǎng)絡(luò)游戲是通過信息網(wǎng)絡(luò)傳播和實(shí)現(xiàn)的互動(dòng)娛樂形式,是一種網(wǎng)絡(luò)與文化相結(jié)合的產(chǎn)業(yè)[1]。近年來,網(wǎng)絡(luò)文化市場(chǎng)發(fā)展非???,隨著互聯(lián)網(wǎng)的迅速普及、寬帶的接入社區(qū)和家庭,我國(guó)網(wǎng)絡(luò)游戲市場(chǎng)發(fā)展迅速,并進(jìn)入了一個(gè)高速增長(zhǎng)期,已經(jīng)創(chuàng)造了較大的產(chǎn)值,帶動(dòng)了相關(guān)產(chǎn)業(yè)的發(fā)展,對(duì)促進(jìn)我...
內(nèi)容介紹
此文檔由會(huì)員 g56176123 發(fā)布
基于JAVA的中國(guó)象棋對(duì)弈系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)-畢業(yè)論文
摘 要
網(wǎng)絡(luò)游戲是通過信息網(wǎng)絡(luò)傳播和實(shí)現(xiàn)的互動(dòng)娛樂形式,是一種網(wǎng)絡(luò)與文化相結(jié)合的產(chǎn)業(yè)[1]。近年來,網(wǎng)絡(luò)文化市場(chǎng)發(fā)展非???,隨著互聯(lián)網(wǎng)的迅速普及、寬帶的接入社區(qū)和家庭,我國(guó)網(wǎng)絡(luò)游戲市場(chǎng)發(fā)展迅速,并進(jìn)入了一個(gè)高速增長(zhǎng)期,已經(jīng)創(chuàng)造了較大的產(chǎn)值,帶動(dòng)了相關(guān)產(chǎn)業(yè)的發(fā)展,對(duì)促進(jìn)我國(guó)網(wǎng)絡(luò)經(jīng)濟(jì)和娛樂業(yè)的發(fā)展、豐富互聯(lián)網(wǎng)時(shí)代人民群眾的文化娛樂生活起到了積極作用。休閑類網(wǎng)絡(luò)游戲集趣味性,娛樂性,互動(dòng)性和益智性于一體,已經(jīng)成為多數(shù)人群的休閑方式。中國(guó)象棋是當(dāng)前非常流行的一種棋類游戲,它在我國(guó)的歷史可謂是源遠(yuǎn)流長(zhǎng),它不僅能增強(qiáng)思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性[2]。
本系統(tǒng)使用JAVA語言實(shí)現(xiàn),通過對(duì)SCOKET技術(shù)的理解,在此基礎(chǔ)上建立服務(wù)器與客戶端的連接,處理服務(wù)器與客戶端之間的信息。此中國(guó)象棋游戲能夠通過兩臺(tái)聯(lián)網(wǎng)的計(jì)算機(jī)實(shí)現(xiàn)異地間的雙人對(duì)弈。
本論文首先討論了開發(fā)此網(wǎng)絡(luò)游戲需要用到的JAVA技術(shù),接著對(duì)系統(tǒng)進(jìn)行了分析與設(shè)計(jì),然后對(duì)系統(tǒng)進(jìn)行了測(cè)試,最后對(duì)游戲的設(shè)計(jì)與開發(fā)進(jìn)行了總結(jié)和展望。
關(guān)鍵詞 中國(guó)象棋;網(wǎng)絡(luò)游戲;對(duì)弈
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ù)的簡(jiǎn)介 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ù)器啟動(dòng)界面 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對(duì)方忙碌中的截圖 23
4.2.5對(duì)方認(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)的互動(dòng)娛樂形式,是一種網(wǎng)絡(luò)與文化相結(jié)合的產(chǎn)業(yè)[1]。近年來,網(wǎng)絡(luò)文化市場(chǎng)發(fā)展非???,隨著互聯(lián)網(wǎng)的迅速普及、寬帶的接入社區(qū)和家庭,我國(guó)網(wǎng)絡(luò)游戲市場(chǎng)發(fā)展迅速,并進(jìn)入了一個(gè)高速增長(zhǎng)期,已經(jīng)創(chuàng)造了較大的產(chǎn)值,帶動(dòng)了相關(guān)產(chǎn)業(yè)的發(fā)展,對(duì)促進(jìn)我國(guó)網(wǎng)絡(luò)經(jīng)濟(jì)和娛樂業(yè)的發(fā)展、豐富互聯(lián)網(wǎng)時(shí)代人民群眾的文化娛樂生活起到了積極作用。休閑類網(wǎng)絡(luò)游戲集趣味性,娛樂性,互動(dòng)性和益智性于一體,已經(jīng)成為多數(shù)人群的休閑方式。中國(guó)象棋是當(dāng)前非常流行的一種棋類游戲,它在我國(guó)的歷史可謂是源遠(yuǎn)流長(zhǎng),它不僅能增強(qiáng)思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性[2]。
本系統(tǒng)使用JAVA語言實(shí)現(xiàn),通過對(duì)SCOKET技術(shù)的理解,在此基礎(chǔ)上建立服務(wù)器與客戶端的連接,處理服務(wù)器與客戶端之間的信息。此中國(guó)象棋游戲能夠通過兩臺(tái)聯(lián)網(wǎng)的計(jì)算機(jī)實(shí)現(xiàn)異地間的雙人對(duì)弈。
本論文首先討論了開發(fā)此網(wǎng)絡(luò)游戲需要用到的JAVA技術(shù),接著對(duì)系統(tǒng)進(jìn)行了分析與設(shè)計(jì),然后對(duì)系統(tǒng)進(jìn)行了測(cè)試,最后對(duì)游戲的設(shè)計(jì)與開發(fā)進(jìn)行了總結(jié)和展望。
關(guān)鍵詞 中國(guó)象棋;網(wǎng)絡(luò)游戲;對(duì)弈
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ù)的簡(jiǎn)介 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ù)器啟動(dòng)界面 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對(duì)方忙碌中的截圖 23
4.2.5對(duì)方認(rèn)輸后的截圖 24
5.總結(jié)展望 25
5.1本文總結(jié) 25
5.2工作展望 25
參考文獻(xiàn) 26
致謝 27