如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
北京邮电大学毕业设计PAGE\*MERGEFORMATII网络五子棋五子棋设计与实现摘要五子棋是起源于中国古代的传统黑白棋种之一。现代五子棋日文称之为“連珠”,英译为“Renju”,英文称之为“Gobang”或“FIR”。五子棋不仅能增强思维能力,提高智力,而且富含哲理,有助于修身养性它既有面的广阔,又有点的忠言,而且简单易懂人民群众喜爱闻乐见,又有深奥的技巧和高水平的国际性比赛;它的棋文化源渊流长,具有东方的神秘和西方的直观;既有“场”的概念,亦有“点”的连接。它是中西文化的交流点,是古今哲理的结晶。用户范围广阔,系统内容丰富益智,具有较高的市场前景。本次毕业设计通过C++语言在QT环境下编程,设计了五子棋游戏软件,使该软件具有美观友好的截面。使得能够实现选择颜色,悔棋,帮助,退出等功能,但是这次毕业设计的最大难点在于五子棋判断胜负的设计,已经对于在上,右上,右,右下,下,左下,左,左上。八个方向四条直线上的检索判断胜负。本游戏是以C++语言作为开发工具。本文详细地介绍了五子棋游戏软件设计的全过程,描述了该软件的功能。关键词五子棋;C++;QT;设计AbstractGobangoriginatedinChineseancientChinesetraditionReversione.ModernGobangJapanesecalled"Pente",translatedas"Renju",Englishcalled"Gobang"or"FIR".Gobangcannotonlyenhancethethinkingability,improveintelligence,andrichinphilosophywillhelpself-cultivation,ithasthebroad,andabitofadvice,butalsoeasytounderstandthepeoplelovetoseeandhear,andprofoundskillsandahighlevelofinternationalcompetition;thechessculturalsourceflowlength,withthemysteryofOrientalandWesternintuition;boththeconceptofthe"field",alsohave"point".ItistheexchangeofChineseandWesternculture,isthecrystallizationoftheancientandmodernphilosophy.Awiderangeofsystemusers,contentrichpuzzle,highmarketprospects.ThegraduationdesignthroughtheC++languageintheQTprogrammingenvironment,designedtheGobanggamesoftware,crosssection.Thesoftwarehasfriendly.Toenablecolorselection,afterwards,help,exitandotherfunctions,thebiggestdifficultybutthisgraduationdesignisthedesignofGobangtojudgetheoutcome,isfor,right,right,right,down,left,left,left.Searchtodeterminetheoutcomeofeightdirectionsonfourlines.ThegameisbasedonC++languageasadevelopmenttool.ThispaperintroducesindetailthewholeprocessofGobanggamesoftwaredesign,describesthesoftwarefunctions.KeywordsC++;QT;Gobang;design目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc390336492"1.绪论PAGEREF_Toc390336492\h1HYPERLINK\l"_Toc390336493"1.1五子棋介绍以及开发环境PAGEREF_Toc390336493\h1HYPERLINK\l"_Toc390336494"1.1.1五子棋简介PAGEREF_Toc390336494\h1HYPERLINK\l"_Toc390336495"1.1