WWW.51LUNWEN.COM 无忧论文网
蜂朝集团总站|英语论文网|免费论文网|论文导航网 英国·澳大利亚·新西兰·加拿大·美国·东南亚
无忧论文网无忧论文网名校师资提供一流服务
2008/7/21 星期一
论文首页 | 论文下载 | 论文写作 | 论文老师 | 论文代写 | 论文发表 | 发表杂志 | 翻译服务 | 支付方式
  论文出售 | 留学论文 | 论文格式 | 硕士论文 | 博士论文 | 本科论文 | 发表供需 | 教育导航 我的无忧  
经济论文|社会哲学|英语论文|新闻媒体|历史文学|保险论文|会计审计|法律论文|艺术论文|工程论文|化工冶金|机械自动|能源动力|电子信息|计算机科|土建论文|航空气象|生命环境|物理论文|地理地质|数学论文|医学论文|农业科学|交通运输|消防安全|考古论文|工商管理|行政政治|工程项目|公共管理|教学论文|教育论文|应用范文|财务范文|合同样本|政工类文|法律法规|网络营销|论文写作|留学文书|英语翻译|法语翻译|
蜂朝无忧论文网论文下载中心 [自然科学类][计算机科学][计算机应用]网络五道棋
本类导航  
计算机科学
 →计算机软件
 →计算机应用
 →计算机网络
 →计算机数据库
 →计算机硬件
本专业最热门的论文
图书馆管理系统(14710)
电子商务安全机制研究-支付系统的研究与实现(2902)
数据加密技术(2392)
中小企业网站建设(2202)
《编译技术》多媒体课件制作(附开题报告,任务书,外文资料翻译等)(2134)

Google 英语论文 硕士论文 论文下载 论文发表
论文题目: 网络五道棋
论文编号: lw200804101914093894
论文属性: 本科毕业论文
论文国籍:中国
论文语言:中文
登出日期: 2008-04-10  
点击次数:343
论文字数:10000
购买价格: 200
论文大纲,目录
关键词搜索:
摘要
伴随着计算机技术和网络技术的发展,网络游戏已成为人们现代生活的一部分。开发网络游戏的一种方法是设计新的场景和新的游戏规则,另一种方法是将传统的棋牌游戏和其他宜智游戏网络化。本文工作属于后一种。
五道棋规则简明、容易掌握,在我国的历史可谓是渊远流长,喜爱它的玩家也是大有人在。但目前的五道棋软件一般都是单机版的,游戏无法在异地的玩家之间进行。基于上述原因,本人决定开发一个符合传统五道棋规则的网络环境下的五道棋对弈软件。
本软件采用Microsoft公司的 Visual C++ 6.0为开发工具,利用MFC提供的Socket类库实现程序之间的远程通讯。
本软件被设计成客户机/服务器模式。服务器程序与客户端程序可以运行在不同的主机上,只要服务器程序所在的主机被设置了IP地址。服务器程序负责监听和收发来自客户端的消息,客户端只负责收发来自服务器程序的消息。在本文工作中,服务器程序同时兼任一个客户端。在对弈时,对弈双方可以看到相同的棋盘内容,但是只能移动自己的棋子。当有棋子被吃掉时,在双方的棋盘上也都有所显示。在对弈的同时,还可以给对方发送文字信息。
本文详细介绍了服务器和客户端程序的通讯原理以及交互界面的实现方法。
关键词:网络游戏,套接字,客户端,服务器.
Abstract
With the development of computers and networks, network games are playing an important role in modern life of common people. Generally, there are two approaches to develop network games: one is to design new scenes and regulations, and the other is to import from traditional chess and puke games. The work of thesis belongs to the latter.
Wudao (Grid 5), a very simple and popular chess game,is widely played in China and has a long history. Now, the software of Wudao chess is usually stand-alone, and the game couldn’t be carried out among players in different places. Concerning the reasons above, I decided to develop new programs for playing Wudao chess under network environment.
Microsoft’s Visual C++6.0 was exploited as the development tool, and the Socket class library was applied to implement communications between programs.
The software was designed with client/server model. The server and the client can be run on different无忧论文 【http://www.uklunwen.com】 hosts, provided that the server host has been designated IP address. The server program is responsible for listening the messages from the client, and the client is responsible for sending and receiving the messages from the server. The server in this thesis is also a client. When playing with the software, both sides can see the same chessboard, and can send dialog messages to the other side.
The thesis will present in detail the theorem of communications and the implementation method of interactive interface.

Key words: Network game, Socket, Client, Server.
目 录
1 引言┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄1
1.1 课题背景┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄1
1.2 本文工作┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄3
2 系统结构与通讯功能的实现┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄5
2.1 系统结构┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄5
2.2 Socket的原理┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄6
2.3 程序框架┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄9
2.4 客户端与服务器的连接┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄10
2.5 数据的接收与发送┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄14
3 交互界面的设计与实现┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄16
3.1 棋盘的生成┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄16
3.2 棋子的生成┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄18
3.3 行棋的实现┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄20
4 系统的运行结果┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄31
5 结论┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄37
5.1 工作总结┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄37
5.2 进一步工作展望┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄38
致 谢┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄39
参考文献┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄40

第1页 第2页 
上一篇:图书管理系统(含程序及开题报告)下一篇:微分方程的初边值问题(程序代码,PP
最新论文 最热门论文
人民币短期汇率决定的外汇供求模型实例分析
商业银行拓展个人全融业务的研究
商业银行个人金融业务的发展策略
人民币汇率的超稳定状态及其突破研究
我国货币市场发展的研究
校园网站设计
英语专业毕业论文-英语委婉语的交际功能
图书馆管理系统
论英汉翻译中的“直译”与“意译”现象
To Foreignize or To Domesticate
论文首页】【设为主页】【加入收藏】【打印本文】【回到顶部
 
 
Copyright (c) 2002 ~ 2009 蜂朝集团旗下网站. All rights reserved.