- 相關(guān)推薦
JAVA五子棋游戲
摘 要
目前,以計(jì)算機(jī)技術(shù)和網(wǎng)絡(luò)技術(shù)為核心的現(xiàn)代網(wǎng)絡(luò)技術(shù)已在現(xiàn)實(shí)生活和生產(chǎn)中得以廣泛的使用,休閑類(lèi)網(wǎng)絡(luò)游戲集趣味性,娛樂(lè)性,互動(dòng)性和益智性于1體,已經(jīng)成為多數(shù)人群的休閑方式。5子棋是當(dāng)前非常流行的1種棋類(lèi)游戲,它在我國(guó)的歷史可謂是源遠(yuǎn)流長(zhǎng),它不僅能增強(qiáng)思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性。
本游戲使用JAVA語(yǔ)言實(shí)現(xiàn),以JBuilder X作為開(kāi)發(fā)工具,通過(guò)對(duì)SCOKET技術(shù)的理解,在此基礎(chǔ)上建立服務(wù)器與客戶(hù)端的連接,處理服務(wù)器與客戶(hù)端之間的信息。通過(guò)對(duì)軟件的編寫(xiě),加深對(duì)以上技術(shù)的理解和掌握。此5子棋游戲能夠通過(guò)兩臺(tái)聯(lián)網(wǎng)的計(jì)算機(jī)實(shí)現(xiàn)異地間的雙人對(duì)弈。并提供了播放背景音樂(lè),落子聲音以及“和棋”、“悔棋”等功能。
關(guān)鍵詞:5子棋 多線(xiàn)程 流套接字 數(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制作icq03-21
java畢業(yè)設(shè)計(jì)開(kāi)題報(bào)告03-26
簡(jiǎn)單網(wǎng)絡(luò)實(shí)時(shí)消息傳遞工具的設(shè)計(jì)Java03-08
最新Java開(kāi)發(fā)畢業(yè)論文參考文獻(xiàn)07-07