下载此文档

毕业设计(论文)-基于VC的五子棋游戏软件的设计与开发.doc


文档分类:IT计算机 | 页数:约20页 举报非法文档有奖
1/20
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/20 下载此文档
文档列表 文档介绍
基于VC的五子棋游戏软件的设计与开发
摘要
人工智能是近年来很活跃的研究领域之一,计算机博弈是人工智能研究的一个重要分支,它的研究为人工智能带来了很多重要的方法和理论,产生了广泛的社会影响和学术影响。五子棋本身就是一款益智休闲游戏,规则简单。五子棋不仅能增强思维能力,提高智力,而且富含哲理,有助于修身养性。
本系统就以五子棋游戏作为研究课题,对五子棋的算法与规则做了研究,阐述了如何在 Microsoft Visual C++ 下用 API 函数来开发Windows下的游戏并给出了具体的实现。本系统以五子棋为例实现的主要功能有棋盘、棋子的输出、人机对下等。本系统还有和棋、再来一盘、帮助等辅助功能.
关键字:五子棋;Microsoft Visual C++; API函数
The Design and Exploitation of Gobang Game with VC
Abstract
Artificial intelligence is one of the brisk research areas. The chess game puter is an important branch of the research on artificial intelligence. The researches on chess game bring plenty of important methods and theories for researching on artificial intelligence, and cause broad influences on society and academe. Gobang chess game means five pieces on one line, is a sort of game, which is full of wisdom, leisure and benefits, and the rules of it are very simple.
This paper focuses on the study of this chess game, and uses the Microsoft Visual C++ to explore the Window’s game. This system mainly uses the function of Visual C++/API to realize the export of chessboard and checker, and people can play puter. Moreover, this system has the assistant functions such as “Deuce”、“ Play Again”、“ Help” and so on.
Key words: Gobang; Microsoft Visual C++; API Function
目录
论文总页数:21页
1 引言 1
2 开发工具和应用平台 1
Microsoft Visual C++ 的介绍 1
Windows 编程的特点 2
3 系统需求分析 4
系统需求 4
功能需求 4
系统运行环境 4
4 五子棋算法分析 5
五子棋的发展 5
五子棋的规则 6
具体算法分析 7
棋盘局势状态表示 7
7
7
5 系统流程 9
6 系统功能实现 10
窗口设计 10
棋盘设计 11
按钮功能的实现 12
胜负判断 13
7 系统测试与分析 14
运行结果 14
问题的发现与解决 17
结论 17
参考文献 17
致谢 19
声明 20
附录 21
引言
目前网络上有很多五子棋子游戏,玩法简单,娱乐性也很高。五子棋不仅能增强思维能力,提高智力,而且富含哲理,有助于修身养性。通过对五子棋的设计与开发,了解和掌握游戏开发的原理与方法。让电脑像人脑一样思考,一直是人工智能发展的最终目标。作为一门边缘学科,它有诸多的研究领域,博弈即为其中之一。博弈的参加者可以是个人、集体、某种生物或机器,他们都力图用自己的“智力”去击败对手。博弈为人工智能提供了一个极好的试验场所,人工智能中的许多概念和方法都是从博弈程序中提炼出来的,人工智能中大多以下棋为例来研究博弈规律。本文以五子棋为入口,设计了一个五子棋人机对弈系统,以实现人和计算机的博弈,最终的目的是为了建立一个有具体规则的五子棋平

毕业设计(论文)-基于VC的五子棋游戏软件的设计与开发 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数20
  • 收藏数0 收藏
  • 顶次数0
  • 上传人zl201163zl
  • 文件大小394 KB
  • 时间2017-12-19