admin 管理员组

文章数量: 1086019


2024年3月12日发(作者:电脑启动失败critical)

摘 要

中国象棋网络版是一款可以实现多人同时在线的网络对弈象棋软件。

中国象棋网络版采用C/S架构,由跨平台的Java语言和MySQ L数据库开发,

在开发过程中使用了多线程、java swing、Socket编程以及TCP和UDP协议等

技术。中国象棋网络版提供了:棋友状态列表,弈棋邀请,观看他人弈棋,棋谱

记录和保存,在线交流,快速注册等功能。服务端提供了:发布系统消息提示,

服务器状态显示,在线棋友管理等功能。最后,对系统进行测试表明,系统功能

达到了预期的要求,实现与同类的象棋软件如QQ象棋类似的功能,具有界面友

好,操作简便,运行稳定的特点,完成设计要求的功能。本系统不足之处在于没

有实现人机对弈、聊天记录的本机存储,将在以后的更新版本中逐步完善。

关键词: 对弈,Java,多线程

I

Abstract

Chinese chess online is a software can support multiplayer play chess online

at

the same time .

The chinese chess online, based on the architecture of C/S, is developed by

MySQL database and Java, a cross-platform language. In the development,

multi-thread, Java swing, Socket programming and TCP/UDP protocol are applied.

First, the newer can fast register and then get an account in the network version. The

players can invite others to join, watch others playing, communicate with others

online and hold chess-playing records. Of course ,there exists a status bar to check the

states of all chess players. Here the service releases the notes of the system

information, displays the state of itself, and deal with chess players online, etc. The

test of the system indicates, all the expected functions have been realized. It has the

similar functions just like the QQ chess, an online software of kind. The interface is

on good terms, and the operation is easy, and also it runs stably. However,

disappointingly, the computer can't be an opponent of the players, and the users'

computer can't keep the chat records itself. These are both the weak points and the

improvements will be made in the new version.

Keywords: chess-playing , Java, Multithreading

II


本文标签: 功能 象棋 系统 要求 提供