java中国象棋编程思想 您所在的位置:网站首页 网络象棋平台 java中国象棋编程思想

java中国象棋编程思想

2024-07-18 02:47| 来源: 网络整理| 查看: 265

中国象棋网络对战平台系统.doc

2010年度本科生毕业论文(设计)

中国象棋网络对战平台系统

学 院: 电子信息工程学

专 业: 网络工程

年 级: 2007 级

学生姓名:

学 号:

导师及职称:

2010年6月

摘 要

随着信息技术的发展,人民生活水平的不断提高。联网游戏作为一种娱乐手段,正以其独特的魅力吸引着越来越多的玩家。为了满足广大象棋爱好者也可以享受到网络所带来的便利 ,本论文完成了基于JAVA开发的中国象棋网络对战平台的设计和实现, 它主要包含以下几大模块:网络通信模块,图像绘制模块和规则设置模块。网络通信模块使得玩家可以方便的迅速建立起网络连接,从而实现联机对弈和聊天功能;图像绘制模块实现棋盘更新以及棋子动态表示等功能;规则设置模块用于约束玩家的棋步。在本系统中规定了行棋规则,以及吃棋规则。此应用程序可以实现双人的网络对战,并能进行聊天,在象棋对战过程中,对获胜的一方及对方给与相应的信息提示 。相比传统的中国象棋对战平台,有功能更加齐全,操作更加简单,行棋更加人性化的优点。

关键词:Abstract

With the development of information technology, peoples standard of living have improved constantly. On-line game as a means of entertainment has a unique charm to attract more and more players. To meet chess lovers ,In this paper, we have completed the design and realization of Chinese Chess network Battle platform based on Java. It contains the following major modules: the network communication module, image rendering module and the rules set up module. Network Communication Module allows gamers can quickly set up a convenient network connection in order to achieve an online game and chat function; image rendering module to update the board as well as functional pieces, such as the dynamic that; rules binding settings module for step-by-step player's game. In this system we provide line game rules, game rules. This application can be achieved in the network between two people, and can chat, in the process,On the winning side and the other to give the appropriate information tips.Compared with traditional Chinese Chess Battle platform, it has a more complete function , simpler operation, the more human chess advantages.

Keywords: JAVA; Chinese Chess; network; Battle platform.

目 录

第一章 绪论4

1.1 背景4

1.2 Java语言4

1.2.1 Java的发展历史4

1.2.2 Java的特点5

1.3 Socket编程6

1.3.1 关于TCP/IP协议6

1.3.2 服务器和客户机6

1.4 中国象棋介绍7

第二章 系统的分析与设计9

2.1. 网络对战平台系统的介绍9

2.2系统构成9

2.3相关技术9

2.3.1 点对点通信9

2.3.2数据库和数据结



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

      专题文章
        CopyRight 2018-2019 实验室设备网 版权所有