- 相關推薦
JAVA五子棋游戲
摘 要
目前,以計算機技術和網(wǎng)絡技術為核心的現(xiàn)代網(wǎng)絡技術已在現(xiàn)實生活和生產(chǎn)中得以廣泛的使用,休閑類網(wǎng)絡游戲集趣味性,娛樂性,互動性和益智性于1體,已經(jīng)成為多數(shù)人群的休閑方式。5子棋是當前非常流行的1種棋類游戲,它在我國的歷史可謂是源遠流長,它不僅能增強思維能力,提高智力,而且富含哲理,有助于修身養(yǎng)性。
本游戲使用JAVA語言實現(xiàn),以JBuilder X作為開發(fā)工具,通過對SCOKET技術的理解,在此基礎上建立服務器與客戶端的連接,處理服務器與客戶端之間的信息。通過對軟件的編寫,加深對以上技術的理解和掌握。此5子棋游戲能夠通過兩臺聯(lián)網(wǎng)的計算機實現(xià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五子棋游戲】相關文章:
Java語言與Java 技術03-20
用java制作icq03-21
java畢業(yè)設計開題報告03-26
java畢業(yè)論文參考文獻05-11
基于自然語言的短信查詢Java03-08
簡單網(wǎng)絡實時消息傳遞工具的設計Java03-08
用java實現(xiàn)二重積分的計算03-07