当前位置: 查字典论文网 >> JAVA五子棋游戏

JAVA五子棋游戏

格式:DOC 上传日期:2023-02-18 01:54:47
JAVA五子棋游戏
时间:2023-02-18 01:54:47     小编:

摘 要

目前,以计算机技术和网络技术为核心的现代网络技术已在现实生活和生产中得以广泛的使用,休闲类网络游戏集趣味性,娱乐性,互动性和益智性于1体,已经成为多数人群的休闲方式。5子棋是当前非常流行的1种棋类游戏,它在我国的历史可谓是源远流长,它不仅能增强思维能力,提高智力,而且富含哲理,有助于修身养性。

本游戏使用JAVA语言实现,以JBuilder X作为开发工具,通过对SCOKET技术的理解,在此基础上建立服务器与客户端的连接,处理服务器与客户端之间的信息。通过对软件的编写,加深对以上技术的理解和掌握。此5子棋游戏能够通过两台联网的计算机实现异地间的双人对弈。并提供了播放背景音乐,落子声音以及“和棋”、“悔棋”等功能。

关键词:5子棋 多线程 流套接字 数据传输

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

全文阅读已结束,如果需要下载本文请点击

下载此文档

相关推荐 更多