智能科学与技术毕业论文

上传人:jiups****uk12 文档编号:40001289 上传时间:2018-05-22 格式:DOC 页数:86 大小:1.38MB
返回 下载 相关 举报
智能科学与技术毕业论文_第1页
第1页 / 共86页
智能科学与技术毕业论文_第2页
第2页 / 共86页
智能科学与技术毕业论文_第3页
第3页 / 共86页
智能科学与技术毕业论文_第4页
第4页 / 共86页
智能科学与技术毕业论文_第5页
第5页 / 共86页
点击查看更多>>
资源描述

《智能科学与技术毕业论文》由会员分享,可在线阅读,更多相关《智能科学与技术毕业论文(86页珍藏版)》请在金锄头文库上搜索。

1、智能科学与技术毕业论文题目:题目: 智能斗地主智能斗地主 专业:专业: 智能科学与技术智能科学与技术 斗地主毕业论文目录目录摘摘 要要 .I IABSTRACTABSTRACT .IIII第一章第一章 概述概述 .- - 1 1 - -1.1 引言 .- 1 -1.1.1 斗地主简介 .- 1 -1.1.2 斗地主规则 .- 1 -1.2 VISUAL C+基础知识 .- 3 -1.2.1 VISUAL C+简介 .- 3 -斗地主毕业论文1.2.2 VISUAL C+开发环境 .- 4 -第二章第二章 设计简介及设计方案论述设计简介及设计方案论述 .- - 1010 - -2.1 设计简介

2、.- 10 -2.2 设计方案 .- 10 -2.2.1 游戏界面设计方案 .- 10 -2.2.2 游戏核心算法设计方案 .- 13 -2.2.3 网络编程设计方案 .- 16 -第三章第三章 详细设计详细设计 .- - 1818 - -3.1 游戏界面设计 .- 18 -3.1.1 加载位图 .- 18 -3.1.2 按钮的创建与实现 .- 20 -3.1.3 绘制 .- 22 -3.1.4 动画制作 .- 23 -3.2 游戏核心算法设计 .- 27 -3.2.1 游戏开始 .- 27 -3.2.2 游戏运行 .- 28 -3.3 网络编程设计 .- 30 -3.3.1 加载套接字库 .

3、- 30 -3.3.2 设置监听套接字 .- 30 -3.3.3 客户机和服务器的创建 .- 31 -3.3.4 数据传输 .- 32 -斗地主毕业论文第四章第四章 设计结果及分析设计结果及分析 .- - 3333 - -4.1 游戏界面设计结果与分析 .- 33 -4.2 游戏核心算法设计结果与分析 .- 33 -4.3 网络连接设计结果与分析 .- 34 -总总 结结 .- - 3535 - -致致 谢谢 .- - 3636 - -参考文献参考文献 .- - 3737 - -附录附录 程序的主要代码程序的主要代码 .- - 3838 - - I -摘摘 要要这次的智能斗地主综合设计是在 V

4、C+开发环境下编译的,旨在深入强化可视化编 程课程的学习,提高综合设计能力,初步掌握独立设计一个小软件的过程,包括界面 设计,功能设计等,培养学生可视化编程的能力。 整个游戏采用结构化的方式进行编译,逐步完善系统功能。系统采用 CSocket 实 现连网游戏。CSocket 是 MFC 在 CAsyncSocket 基础上派生的一个同步阻塞 Socket 的封 装类。而 Socket 是 Windows 中得到广泛应用的、开放的、支持多协议的网络编程接口。 一个 CSocket 对象代表了一个比 CAsyncSocket 对象更高层次的 Windows Socket 的抽 象,CSocket

5、类与 CSocketFile 类和 CArchive 类一起工作来发送和接收数据,因此使 它更加容易使用。 Virtual C+实现斗地主游戏主要有三部分。第一部分是界面设计;第二部分是游 戏内核(包括出牌大小、如何过牌、出牌等)设计;第三部分是网络部分。解决了这 三部分的问题,程序也就基本完成了。在程序中定义了比较出牌大小的 Managers 算法, 对发牌、点牌进行设计的 LBUTTONDOWN 响应等来实现斗地主程序。 本程序以斗地主为例,编程并实现了 CSocket 功能,达到了预期连网打牌的效果。 运用软件工程的知识对程序开发过程进行详细介绍。经过详细设计、系统检测等方法 来保证程序

6、的稳定运行。 本论文主要介绍了智能斗地主的开发背景,开发的过程和所要完成的功能。包括 游戏界面的开发、基于 CSocket 网络游戏的实现、核心算法的实现。重点的说明了系 统设计思想,设计的步骤、难点技术和解决方案。关键词:斗地主;游戏界面;游戏核心算法;网络连接;Socket智能科学与技术毕业论文IIAbstractAbstract The intelligent doudizhu integrated design is in vc + + development environment, aims to further strengthen the compiler visual pro

7、gramming courses, improve the comprehensive design ability, preliminary design of a small have independent software process, including interface design, functional design, cultivating students ability of visual programming. The game using structured, systematic compilation. System uses CSocket to ac

8、hieve networking game. CSocket is a synchronous blocking Socket wrappers derived by MFC based on CAsynncSocket. The Socket is widely used for open, multi-protocol network programming interface in windows. A CSocket object represents a Windows Socket abstract at a higher level than CAsyncSocket. Clas

9、s CSocket、CSocketFile and CArchive work together to send and receive data, so it is more easily used. Virtual C+ realize doudizhu economical three main game. The first part is the interface design, The second part is the kernel (including a card game to size, etc.), the brand design, The third part

10、is the network part. To solve the problem of three parts, the program is completed. In the process of the definition of a brand Managers size comparison algorithm for licensing, some brand design LBUTTONDOWN response to realize doudizhu procedures etc. This program uses Landlords as an example, programmers implement CSocket functions to achieves the desired effect. Using knowledge of software engineering, describes the development process of the program in details. After detail designing、system testing and other method

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号