围棋的提子和打劫功能的实现VB

时间:2020-09-01 16:15:56 计算机应用毕业论文 我要投稿

围棋的提子和打劫功能的实现VB

毕业论文

 目  录
前言 3
1绪论 4
1.1 问题定义及内容简介 4
1.1.1 问题定义 4
1.1.2 内容简介 4
1.2 研究背景与研究意义 5
1.2.1 研究背景 5
1.2.2 研究意义 5
1.3 研究目的范围 6
2 围棋相关知识介绍 7
2.1 围棋常识和电脑围棋必备知识 7
2.1.1 围棋的棋盘 7
2.1.2 气和提子 7
2.1.3 自尽 8
2.1.4 全局同形 8
2.1.5 块棋 8
2.1.6 死活 8
2.1.7 假眼 9
2.1.8 劫 9
2.1.9 围棋规则 10
2.2 围棋与国际象棋的比较 10
2.3 围棋问题的复杂性 12
3 Visual Basic概述 13
3.1 可视化BASIC语言——Visual Basic 13
3.2 Visual basic 的特点 14
3.3 Visual basic 6.0的新特点 16
4 客户端连接的实现 21
4.1 处理流程 21
4.2 信息交换的消息格式 22
4.3 多个“连接”的实现 23
4.4 使用Winsock连接 23
4.5 网络传输发送消息的实现 24
5 围棋客户端的设计和实现 26
5.1 设计思路 26
5.2 数据结构设计 27
5.3 界面及对弈实现详细设计 28
5.3.1 界面详细设计 28
5.3.2 对弈实现过程 30
5.4 系统测试 35
结论与展望 37
参考文献 39
致谢 40
围棋客户端程序的研究与实现
 
摘要:设计此程序的目的是解决用户在空间上的距离和语言的界限,促进围棋爱好者之间的交流,提供给用户便利的对弈环境,充分发挥计算机的强大功能。希望通过此设计能够熟悉开发工具的运用和了解软件开发的大致过程。本文开始的绪论部分介绍了程序需解决的问题及开发背景、意义等。接着讲述了围棋的规则,这部分是设计此程序的依据。随即是开发工具的介绍,详细阐述了Visual Basic的特点和Visual Basic 6.0的新特点等。然后论述了网络连接的实现过程,其中用到了Winsock控件进行连接的建立和数据的`传输。最后是客户端的详细设计,分别讲述了界面的设计和对弈的实现过程等。结尾对系统进行了测试。

关键词:网络; 围棋; 客户端

The Studying and Realizing of
 Wei Qi client procedure
 

Abstract: The goal to explore this procedure is to deal with the users space distance and the language boundary, promote the exchange between the Wei Qi amateurs, provide the convenient environment to the players, and fully display the formidable function of the computer. We hope that we can be familiar with the use of the development kit and understand the process of the software developing through this procedure. The exordium of this article introduced the problems which must be solved and its development background, significance and so on. Then it narrated the rule of the Wei Qi, which is the basis of the procedure. Following is the introduction of the development kit, which elaborated the characteristic of the Visual Basic and Visual Basic 6.0 in detail. Next it elaborated realizing process in network connecting, which used Winsock widget to establish the connection and transmit the data. Finally is the detailed design of client procedure, separately narrated the design of interface and the realizing process of playing chess and so on. The ending has carried on the test to the system.

Keywords:networks;Wei Qi;client


前言
围棋软件到目前为止已经很多了,各种语言作为开发工具的都有,其大多数的情况是面向用户的,也即网络对战的模式,不像象棋还有人机对战模式,现在的研究重点是人工智能的实现。
围棋软件的使用还主要是在人-人对战的模式下,因为现今的电脑程序还不能够战胜1个低段的棋手,电脑还不能入流。大多数的商业软件的开发还是基于提供网络上的人和人进行较量的方式,这在目前也是比较经济和可行的方法。要开发1个比较好的人工智能围棋软件其难度较大,成本也较高。网络上流行的软件至多加入1个棋力稍好的智能程序部分,仅为了软件的多样化。
本系统在VB开发编程环境下,利用开发工具所拥有的功能,设计1个界面美观、功能实用及使用简单的围棋程序。不强调人工智能和要求功能的全面化。宗旨是让使用者操作起来简单,实用性强,美观的视觉效果。系统可以在单机上面运行,也可以在局域网,以及流行的Internet上面运行,适用性强。

【围棋的提子和打劫功能的实现VB】相关文章:

1.围棋技巧打劫活动反思

2.基于SIP协议的forking功能的研究和实现

3.围棋的哲理和围棋规则

4.基于VB中控件和类的霓虹灯效果的设计与实现

5.利用VB实现对IE的调用与控制

6.围棋的规则和玩法

7.使用JavaScript实现Java的List功能

8.2017网站热点图的实现形式和功能特点

9.围棋和其它棋类的区别