文档详情

基于QT网络五子棋毕业论文.doc

发布:2018-07-02约2.02万字共28页下载文档
文本预览下载声明
职场大变样社区():下载毕业设计成品全套资料,全部50元以下基于QT网络五子棋摘 要五子棋,是一种两人对弈的纯策略型棋类游戏,亦称“串珠”、“连五子”;是中国民间非常熟知的一个古老棋种。相传,它起源于四千多年前的尧帝时期,比围棋的历史还要悠久。如今网络休闲游戏发展迅速,它凭借健康,方便,互动性强,益智等诸多优点,成为大部分现代人休闲娱乐的首选。五子棋游戏容易上手,老少皆宜,而且趣味横生,引人入胜;它不仅能使人娱乐,开发智力锻炼逻辑,而且富含哲理,有助于修身养性。而且还能促进日常的人际交际。而此次我的选题五子棋游戏,本文主要讲的是用QT开发的一个直观大方的界面且带部分AI功能的五子棋游戏,游戏程序实现了人机对弈和网络对弈,自动智能计算最佳落子位置,而且程序能够自动的判定游戏的获胜方和游戏的结束与否,实现对战双方顺利进行博弈。并且我想把该项目移植入校内网中,增加同学在课余生活的丰富性,在与同校学生的博弈中认识新的朋友,促进同学之间的情谊,同时在丰富校园网内容的过程中,还能展现信息学院学生的风采和能力。 关键词:游戏;QT;人机对弈;网络对战;五子棋AbstractGobang, is a game of two pure strategy type chess game, which is also called beaded, the five; Is an ancient Chinese folks familiarity with chess. According to legend, it originated in yaodi period of more than four thousand years ago, than go also has a long history.Gobang game easy to use, for young and old, and fun, fascinating; It can make people not only entertainment, also can to develop intelligence, and high in philosophy, helps to cultivate ones morality raises a gender.This paper is about using QT development language developed a custom interface intuitive and easy with the function of some AI gobang game, the game program realization man-machine game and everyones game, the best move later automatic intelligent computation, and the program can automatically determine the winner of the game and the end of the game or not, the game against both sides smoothly. Key words: Game;QT; Man-machine game; Netplay; Gobang目 录绪论 HYPERLINK \l _Toc25448 1 TOC \o 1-3 \h \z \u HYPERLINK \l _Toc16856 1 网络五子棋概述 2 HYPERLINK \l _Toc18982 1.1 网络五子棋程序开发语言 2 HYPERLINK \l _Toc18033 1.2 网络五子棋开发平台 2 HYPERLINK \l _Toc18033 1.3 HYPERLINK \l _Toc18033 网络五子棋系统特点 2 HYPERLINK \l _Toc28663 2 网络五子棋开发设计 4 HYPERLINK \l _Toc11904 2.1 网络五子棋概要设计 4 HYPERLINK \l _Toc13606 2.1.1 网络五子棋功能分析: 4 HYPERLINK \l _Toc4451 2.1.2 网络五子棋系统框图: 5 HYPERLINK \l _Toc13606 2.1.3 网络五子棋流程图: 5 HYPERLINK \l _Toc18259 2.2 网络五子棋详细设计 7 HYPERLINK \l _Toc13304 2.2.1 网络五子棋服务器启动 7 HYPERLINK \l _Toc14171 2.2.2 网络五子棋客户端启动 9 HYPERL
显示全部
相似文档