1 / 44
文档名称:

网络斗地主 课程设计.doc

格式:doc   大小:869KB   页数:44页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

网络斗地主 课程设计.doc

上传人:mkjafow 2017/12/7 文件大小:869 KB

下载得到文件列表

网络斗地主 课程设计.doc

文档介绍

文档介绍:08 届课程(设计)论文
题目
网络斗地主
专业班级
08信息与计算科学(1)班
学号
学生姓名
指导教师
指导教师职称
讲师
学院名称
理学院
完成日期: 2011 年6月25日
目录
目录 I
摘要 II
Abstact III
前言 IV
第1章课题背景 1
1
2
文献综述 2
第2章设计简介及设计方案论述 3
游戏规则 3
2. 2设计方案论述 3
第3章详细的设计方法 6
6
数据库建立 7
代码设计原理 9
: 9
: 16
第4章测试结果分析 27
27
27
第5章不足与改进 35
总结 36
致谢 37
参考文献 38
摘要
斗地主民间相传起源于湖北,据传是一位叫吴修全的年轻人,根据当地流行的***玩法“跑的快”改编的。斗地主玩法简单,娱乐性强,老少皆宜,如今已风靡整个中国,并流行于互联网上。尤其是三人斗地主,玩法简单,娱乐性强,老少皆宜。该游戏由三个人玩,用一副或两副牌,地主为一方,其余两家为另一方,双方对战,先出完牌的一方获胜。
,游戏通讯部分的开发(多线程,socket)的设计过程。本设计采用Microsoft Visual Basic 作为开发工具,结合socket 编程,采用mysql数据库作为信息存储的工具,利用ODBC连接数据库。利用C/S(服务器客服端)的信息反馈方式实现服务器客户端信息的交流,进而完成斗地主过程。设计的大体方法是,先列出斗地主游戏设计的种种操作,将这些操作一一以对应的指令作为操作码,按每个对应的操作码(指令)展开代码编写,详细设计时不断地修正和完善,经过测试阶段反复调试和验证,最终形成达到设计要求的可行系统,在内网外网均可以调试通顺,可进行游戏。
关键字:斗地主,服务器,客户端,mysql, ODBC,C/S, socket
Abstact
Confilct landlord folk legend originated in hubei, it is a call WuXiuQuan young people, according to the local popular poker play "to run of quick adaptation of". Dou landlord play simple, entertaining, people of all ages and strong, now already fashionable whole China, and popular in the . Especially three dou landlord, play simple, entertaining, people of all ages and strong. The game consists of three people playing, use a pair or two deck of CARDS, the landlord for a party, and the remaining two home for the other party, the parties, the brand first out against a party wins.
The design with a deck of CARDS rules shall prevail. This paper tells the story work dou landlord game the design munication, the game is part of the development (multiple threads, the design process of the socket). This design USES the Microsoft Visual Basic as development tools, combined with the socket programming, using mysql database as the tool, the use of information storage ODBC connection database. Use of C/S (server customer service of the information feedback way realizat