第一范文网 - 专业文章范例文档资料分享平台

中国象棋游戏设计

来源:用户分享 时间:2019-04-30 本文由来自喵~星 分享 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

JIU JIANG UNIVERSITY

毕 业 设 计

题 目 中国象棋游戏设计 英文题目 Chinese Chess Game Design 院 系 信息科学与技术学院 专 业 信息管理与信息系统 姓 名 林传玉 班级学号 A102215 指导教师 杨桃

二O一四年五月

信息科学与技术学院学士学位论文

摘 要

中国象棋游戏系统是以C/S架构为基础开发的对弈软件,以灵活独立的Java语言为主要开发工具,其中多线程、JavaSwing、Socket编程以及数组和字符串的运用等技术都在开发过程中有所涉猎。

在计算机广泛普及的背景之下,中国象棋游戏解决了由时间、地域和对手有限等面对面对弈所产生的问题,给人们带来很多方便。对于象棋游戏的研究,通过棋盘类的开发实现棋盘模块,从移动区域、移动规则两个方面详细研究并描述象棋七类棋子的基本属性和棋子走法。另外,通过对系统的运行测试,表明系统除了实现基于Java技术的中国象棋游戏行棋规则算法,得以使每个棋子的行棋路线都严格遵循棋子属性所具备的走棋规则之外,还具有悔棋、计时、求和、认输等功能,而系统本身也具备界面朴素,操作简便,运行稳定的特点。

系统虽然调试完成,但是仍有许多不足之处,比如没有实现人机对弈,没有聊天记录的本机储存等功能。不过,随着开发经验的积累,系统的缺陷和不足将会逐步得到完善。

关键词:中国象棋,设计,软件,多线程,信息技术

I

信息科学与技术学院学士学位论文

Abstract

Chinese chess game system is a game software which is developed on the basis of C/S architecture, and using the flexible independent Java language as the main development tools, multi-threading, JavaSwing, Socket programming as well as array and character string are dabbled in the process of development in technology.

Under the broad background of the network, the problems resulting from face to face rival game, like the limits of time, region and opponents etc, are solved, to bring a lot of convenience. For the study of chess games, board module achieved through the development of boards, study and describe the basic properties and pawn moves of the seven categories of chess from two aspects of mobile area and moving rules. Furthermore, through the operation tests of the system, it shows that in addition to realize the Chinese chess game moves rules algorithm based on Java technology, so that each piece moves on line strictly follow pieces attribute of the rules of playing chess, the system also has undo, timing, summation, throw in the towel and other functions, and the system itself has characteristics of simple interface, easy operation and stable operation.

While System debugging is completed, but there are still many deficiencies, such as no man-machine chess, no chats local storage and other functions. However, with the accumulation of development experience, and gradually perfect the flaw and the insufficiency of the system is imperative.

Keywords: Chinese Chess, Design, Software, Muiti Theard, Information Technology

II

信息科学与技术学院学士学位论文

目 录

摘 要 ..................................................... I Abstract .................................................. II 1 绪论

1.1 课题背景 ............................................. (1) 1.2 课题研究的内容与意义 .................................. (2) 1.3 技术思路 ............................................. (3) 1.4 本章小结 ............................................. (4) 2 系统分析

2.1 可行性分析 ........................................... (5) 2.2 系统功能模块分析 ...................................... (6) 2.3 需求分析 ............................................. (7) 2.4 本章小结 ............................................ (10) 3 系统设计

3.1 中国象棋游戏的结构设计 ............................... (11) 3.2 系统的功能模块设计 ................................... (13) 3.3 走棋和吃棋规则设计 ................................... (14) 3.4 主要算法伪码示例 ..................................... (18) 3.5 本章小结 ............................................ (22)

III

信息科学与技术学院学士学位论文

4 系统运行测试

4.1 服务端和客户端运行测试 ............................... (23) 4.2 客户端和客户端运行测试 ............................... (25) 4.3 本章小结 ............................................ (29) 5 总结与展望

5.1 全文总结 ............................................ (30) 5.2 研究展望 ............................................ (30) 致 谢 .................................................. (32) 参考文献 ................................................ (33)

IV

搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新综合文库中国象棋游戏设计全文阅读和word下载服务。

中国象棋游戏设计.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/wenku/162464.html(转载请注明文章来源)
热门推荐
Copyright © 2018-2022 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top