没有合适的资源?快使用搜索试试~ 我知道了~
【计算机软件毕业设计】网络五子棋设计.doc
0 下载量 162 浏览量
2023-07-10
17:12:39
上传
评论
收藏 427KB DOC 举报
温馨提示
试读
23页
【计算机软件毕业设计】网络五子棋设计.doc
资源推荐
资源详情
资源评论
0
河北农业大学
本科毕业论文(设计)
题 目: 网络五子棋
摘要
1997 年,伴随计算机技术和网络的发展,第一款图形网络游戏《网络创世
界》问世,应用计算机与网络的高尖端技术,融合传统的试听与数字娱乐精华,
集娱乐,竞技,互动于一体,迅速风靡全球。自此拉开网络游戏的序幕。
目前,PK 已经成为现在人生活的一部分,人们以不同的方式通过网络来娱乐,
休闲。五子棋是一种两人对已的纯策略型的棋类游戏,似起源于中国古代的传统
的黑白棋种之一,发展与日本,流行于欧美。通过一系列的变化,使五子棋这一
简单的游戏系统化,规范化,最终成为今天的职业连珠五子棋,同事也成为一种
国际比赛棋,它不仅能增强思维能力,提高智力,而且富含哲理,有助于修身养
性,容易学会,趣味横生,引人入胜。本程序是 eclipse 平台下的一个小程序,
使用 JAVA 语言,通过对 Socket 技术的理解,实现客户端与服务器之间的链接,
利用多线程技术来处理服务器与客户端的数据传输,通信,实现程序的聊天内容,
是的客户端和服务器之间能够同步的进行处理。
通过对本游戏的开发,更深入的理解了面向对象的概念以及面向对象预言的
一些问题的优势,也对线程的理解更加理解。
关键字:JAVA 线程 数据传输 五子棋 eclipse 网络 socket
1
Abstract
In 1997, along with the development of computer technology and network, the
first graphics network game "network world", the application of computer and
network of sophisticated technology, the fusion of traditional audio-visual and digital
entertainment essence, entertainment, athletics, interactive as a whole, quickly catch
on around the world. Since then kick network game.
Currently, PK has become now a part of life, people in different ways through
the network to entertainment and leisure. Gobang is one kind of two people to have
pure strategy type chess game, originated in ancient Chinese traditional black white
kind of like, one of the development in Japan, popular in Europe and the United States.
Through a series of changes, the simple game gobang systematization, standardization
and eventually become today's professional renju renju colleagues also become an
international chess game, it can not only enhance thinking ability, improve
intelligence, and high in philosophy, helps to cultivate one's morality raises a gender,
easy to learn, interesting, fascinating. This program is a small program, the eclipse
platform using the JAVA language, through the understanding of the Socket
technology, realize the link between the client and the server, using multithreading
technology to deal with the server and the client's data transmission, communication,
implementation procedures of chat content, yes to synchronization between the client
and the server for processing.
Through the development of this game, more in-depth understanding of the
concept of object oriented and object oriented predicted that some of the problems of
advantage, also understand more understanding of the thread.
Key words: JAVA thread gobang the eclipse data transmission network
2
目录
摘
要·································1
Abstract·······························
2
1.概述
1.1:五子棋的发展························4
1.1.1五子棋的研究背
景······················4
1.1.2五子棋的研究意
义······················5
1.2:传统五子棋和网络五子棋···················5
1.3 五子棋的称
谓·························5
2 开发环境与编程语言
2.1 开 发 与 运 行 环
境························6
2.1.1 开 发 环
境·························6
2.1.2 运 行 环
境·························6
2.2 编 程 语
言····························6
3.网络五子棋的需求分析与总体设计
3.1 需 求 分
析···························8
3.1.1 功 能 需
求··························8
3.1.2 用 户 界 面 需
求························8
3.2 总 体 设
计···························8
4.构架
4.1 客 户 端 的 实
现·························10
4.2 客 户 端 的 功
能···························14
4.3 服 务 器 端 的 实
现·························16
4.4 服 务 器 端 的 功
能·························18
3
4.5 客 户 端 与 服 务 器 端 的 链
接·····················19
5.结论与体会
5.1 : 经 验 总
结··························21
5.2 发 开 的 心 得 体
会························21
参 考 文
献······························22
1.概述
1.1 五子棋的发展
五子棋相传起源于四千多年前的尧帝时期,比围棋的历史还要悠久,可是早
在“尧造围棋”之前,民间就已有五子棋游戏。在上古的神话传说中有“女娲造
人,伏羲做棋”一说,《增山海经》中记载:“休舆之山有石焉,名曰帝台之棋,
五色而文状鹌卵。”远古以来就以漂亮的石子为棋,因而规则剪发的五子棋也可
能出自当时,并是用石子作为棋子。亦有传说,五子棋最初流行于少数民族地区,
以后渐渐演变成围棋并在炎黄子孙后代中演变开来。
五子棋不仅增强思维能力,体改智力,而且富含哲理,有助于修身养性。五
子棋既有现代休闲的明显特征“短,平,快”,又有古典哲学的高深学问“阴阳
易礼”;既有简单易学的特征,又为广大人民群众所喜闻乐见,又有深奥的技巧
和高中水平的国际性比赛;棋文化源远流长,具有东方的神秘河西方的直观;既
有“场”的概念,亦有“点”的链接。他是中西方的交流电,是古今哲学的结晶。
随着 1996 年中央电视台(CCTV-5)《黑白世界-五子棋讲座》的开播和中国
五子棋网上比赛的开通,将世界连珠五子棋运动的最新状况及时展现在眼前,为
剩余22页未读,继续阅读
资源评论
智慧安全方案
- 粉丝: 3675
- 资源: 59万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功