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