基于java的中國象棋對弈系統(tǒng)的設計與實現(xiàn)-畢業(yè)論文.doc
約32頁DOC格式手機打開展開
基于java的中國象棋對弈系統(tǒng)的設計與實現(xiàn)-畢業(yè)論文,基于java的中國象棋對弈系統(tǒng)的設計與實現(xiàn)-畢業(yè)論文摘 要網絡游戲是通過信息網絡傳播和實現(xiàn)的互動娛樂形式,是一種網絡與文化相結合的產業(yè)[1]。近年來,網絡文化市場發(fā)展非常快,隨著互聯(lián)網的迅速普及、寬帶的接入社區(qū)和家庭,我國網絡游戲市場發(fā)展迅速,并進入了一個高速增長期,已經創(chuàng)造了較大的產值,帶動了相關產業(yè)的發(fā)展,對促進我...
![](http://img.queshao.com/images/pcgzh.gif)
![](http://preview.queshao.com/tobuy/109120.gif)
內容介紹
此文檔由會員 g56176123 發(fā)布
基于JAVA的中國象棋對弈系統(tǒng)的設計與實現(xiàn)-畢業(yè)論文
摘 要
網絡游戲是通過信息網絡傳播和實現(xiàn)的互動娛樂形式,是一種網絡與文化相結合的產業(yè)[1]。近年來,網絡文化市場發(fā)展非???,隨著互聯(lián)網的迅速普及、寬帶的接入社區(qū)和家庭,我國網絡游戲市場發(fā)展迅速,并進入了一個高速增長期,已經創(chuàng)造了較大的產值,帶動了相關產業(yè)的發(fā)展,對促進我國網絡經濟和娛樂業(yè)的發(fā)展、豐富互聯(lián)網時代人民群眾的文化娛樂生活起到了積極作用。休閑類網絡游戲集趣味性,娛樂性,互動性和益智性于一體,已經成為多數(shù)人群的休閑方式。中國象棋是當前非常流行的一種棋類游戲,它在我國的歷史可謂是源遠流長,它不僅能增強思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性[2]。
本系統(tǒng)使用JAVA語言實現(xiàn),通過對SCOKET技術的理解,在此基礎上建立服務器與客戶端的連接,處理服務器與客戶端之間的信息。此中國象棋游戲能夠通過兩臺聯(lián)網的計算機實現(xiàn)異地間的雙人對弈。
本論文首先討論了開發(fā)此網絡游戲需要用到的JAVA技術,接著對系統(tǒng)進行了分析與設計,然后對系統(tǒng)進行了測試,最后對游戲的設計與開發(fā)進行了總結和展望。
關鍵詞 中國象棋;網絡游戲;對弈
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相關技術 3
1.1 JAVA技術的簡介 3
1.1.1Java語言的起源 3
1.1.2Java語言的發(fā)展前景 3
1.1.3Java語言的概述 3
1.2 JAVA語言的特點 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)的領域類圖 9
3.系統(tǒng)的設計 10
3.1總體設計 10
3.1.1系統(tǒng)目標 10
3.1.2系統(tǒng)總體設計思路 10
3.1.3系統(tǒng)功能結構分析 11
3.2詳細設計 11
3.2.1服務器端的設計 11
3.2.2服務器線程的編程模型 12
3.2.3服務器代理線程的設計 12
3.2.4棋子類的設計 13
3.2.5客戶端的設計 14
3.2.6客戶端代理線程的設計 14
3.2.7規(guī)則類的設計 15
3.2.8棋盤類的設計 18
4.系統(tǒng)的運行 21
4.1服務器端界面 21
4.1.1服務器啟動界面 21
4.1.2服務器端顯示在線用戶的信息 21
4.2客戶端界面 22
4.2.1客戶端連接服務器截圖 22
4.2.2選擇玩家進行挑戰(zhàn)的截圖 22
4.2.3接受或者拒絕挑戰(zhàn)的截圖 23
4.2.4對方忙碌中的截圖 23
4.2.5對方認輸后的截圖 24
5.總結展望 25
5.1本文總結 25
5.2工作展望 25
參考文獻 26
致謝 27
摘 要
網絡游戲是通過信息網絡傳播和實現(xiàn)的互動娛樂形式,是一種網絡與文化相結合的產業(yè)[1]。近年來,網絡文化市場發(fā)展非???,隨著互聯(lián)網的迅速普及、寬帶的接入社區(qū)和家庭,我國網絡游戲市場發(fā)展迅速,并進入了一個高速增長期,已經創(chuàng)造了較大的產值,帶動了相關產業(yè)的發(fā)展,對促進我國網絡經濟和娛樂業(yè)的發(fā)展、豐富互聯(lián)網時代人民群眾的文化娛樂生活起到了積極作用。休閑類網絡游戲集趣味性,娛樂性,互動性和益智性于一體,已經成為多數(shù)人群的休閑方式。中國象棋是當前非常流行的一種棋類游戲,它在我國的歷史可謂是源遠流長,它不僅能增強思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性[2]。
本系統(tǒng)使用JAVA語言實現(xiàn),通過對SCOKET技術的理解,在此基礎上建立服務器與客戶端的連接,處理服務器與客戶端之間的信息。此中國象棋游戲能夠通過兩臺聯(lián)網的計算機實現(xiàn)異地間的雙人對弈。
本論文首先討論了開發(fā)此網絡游戲需要用到的JAVA技術,接著對系統(tǒng)進行了分析與設計,然后對系統(tǒng)進行了測試,最后對游戲的設計與開發(fā)進行了總結和展望。
關鍵詞 中國象棋;網絡游戲;對弈
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相關技術 3
1.1 JAVA技術的簡介 3
1.1.1Java語言的起源 3
1.1.2Java語言的發(fā)展前景 3
1.1.3Java語言的概述 3
1.2 JAVA語言的特點 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)的領域類圖 9
3.系統(tǒng)的設計 10
3.1總體設計 10
3.1.1系統(tǒng)目標 10
3.1.2系統(tǒng)總體設計思路 10
3.1.3系統(tǒng)功能結構分析 11
3.2詳細設計 11
3.2.1服務器端的設計 11
3.2.2服務器線程的編程模型 12
3.2.3服務器代理線程的設計 12
3.2.4棋子類的設計 13
3.2.5客戶端的設計 14
3.2.6客戶端代理線程的設計 14
3.2.7規(guī)則類的設計 15
3.2.8棋盤類的設計 18
4.系統(tǒng)的運行 21
4.1服務器端界面 21
4.1.1服務器啟動界面 21
4.1.2服務器端顯示在線用戶的信息 21
4.2客戶端界面 22
4.2.1客戶端連接服務器截圖 22
4.2.2選擇玩家進行挑戰(zhàn)的截圖 22
4.2.3接受或者拒絕挑戰(zhàn)的截圖 23
4.2.4對方忙碌中的截圖 23
4.2.5對方認輸后的截圖 24
5.總結展望 25
5.1本文總結 25
5.2工作展望 25
參考文獻 26
致謝 27