- 相關(guān)推薦
JAVA五子棋游戲
摘 要
目前,以計(jì)算機(jī)技術(shù)和網(wǎng)絡(luò)技術(shù)為核心的現(xiàn)代網(wǎng)絡(luò)技術(shù)已在現(xiàn)實(shí)生活和生產(chǎn)中得以廣泛的使用,休閑類網(wǎng)絡(luò)游戲集趣味性,娛樂性,互動(dòng)性和益智性于1體,已經(jīng)成為多數(shù)人群的休閑方式。5子棋是當(dāng)前非常流行的1種棋類游戲,它在我國的歷史可謂是源遠(yuǎn)流長,它不僅能增強(qiáng)思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性。
本游戲使用JAVA語言實(shí)現(xiàn),以JBuilder X作為開發(fā)工具,通過對(duì)SCOKET技術(shù)的理解,在此基礎(chǔ)上建立服務(wù)器與客戶端的連接,處理服務(wù)器與客戶端之間的信息。通過對(duì)軟件的編寫,加深對(duì)以上技術(shù)的理解和掌握。此5子棋游戲能夠通過兩臺(tái)聯(lián)網(wǎng)的計(jì)算機(jī)實(shí)現(xiàn)異地間的雙人對(duì)弈。并提供了播放背景音樂,落子聲音以及“和棋”、“悔棋”等功能。
關(guān)鍵詞:5子棋 多線程 流套接字 數(shù)據(jù)傳輸
JAVA GOBANG GAME
ABSTRACT
At present, taking computer technology and the network technology as the core, modern network technology is already used in the real life and the production. The leisure network game sets interest, entertainment, interaction and intelligence development in a body, and already became the leisure mode of the most people. Gobang is a very popular game and its history in our country may be of long standing and well established. It can improve thinking ability and intelligence, but also rich in philosophy and contribute to self-cultivation.
This game-software implemented with JAVA language, based on IDE JBuilder X and according to the understanding of SCOKET technology. Established in these foundations, the server connects with the multi- client, and processes the information between many clients using the multi-thread processing technology. Through to the software compilation, deepen understanding and grasps to the technology above understanding and grasps. This game software realize two computer users playing through network.Broadcasting the background music, the playing music and some special functions , such as “giving up”,“retracting a false move”,etc.. will be available.
Key Words: Gobang multi-thread socket stream data transmission
【JAVA五子棋游戲】相關(guān)文章:
Java語言與Java 技術(shù)03-20
用java制作icq03-21
java畢業(yè)設(shè)計(jì)開題報(bào)告03-26
基于自然語言的短信查詢Java03-08
簡單網(wǎng)絡(luò)實(shí)時(shí)消息傳遞工具的設(shè)計(jì)Java03-08
最新Java開發(fā)畢業(yè)論文參考文獻(xiàn)07-07