计算机软件毕业设计 网络对战五子棋系统设计.docVIP

  • 4
  • 0
  • 约2.12万字
  • 约 32页
  • 2017-04-11 发布于辽宁
  • 举报

计算机软件毕业设计 网络对战五子棋系统设计.doc

计算机软件毕业设计 网络对战五子棋系统设计

河北农业大学 本科毕业论文(设计) 题 目: 网络对战五子棋 摘要 五子棋游戏以其优秀的人工智能深受广大玩家的喜爱,而对于初步探究网络编成的编程爱好者来说,编制五子棋程序因其规则简单而大受欢迎,然而它却要求程序员对五子棋规则有相当深入的了解。程序员考虑得越周到,其五子棋程序就越智能。 五子棋游戏软件设计的主要内容是:根据五子棋的基本规则,要让对方客户端知道该在哪一点下子,就要根据盘面的形势,并把棋盘棋子的重新绘制绘制,也就是更新该点的位置,然后再通过监听网络传递的消息,直到新的位置放在棋盘的什么位置上,在进行修改,并通过计算,得出玩家是否获得胜利.,因此玩家就能反复的进行联机游戏。 本文论述了采用联机对战的方式体现出五子棋程序的分析与设计,并采用面向对象的开发工具C#来具体实现。 关键字:Socket?;C/S;五子棋;网络对弈;C# Abstract Gobang game with excellent artificial intelligence by the vast number of players who, for the initial research network organization programming enthusiasts, Gobang procedures for the preparation of the rules simple and popular, but it requires programmer to Gobang game has a deep understanding of the rules. Other thoughtful consideration they treat their Gobang game procedures more wisdom. Gobang game software design is the main content: According Gobang basic rules to know each others customers - in violation of the West, we must under Permian situation, and the board pawn re-mapping mapping, that is updating the point position, and then through the monitoring network news until the new location on the board what position, Following changes, and through the calculation, resulting in players is victory. , the on-line game players can repeatedly. This article discusses the use of on-line way reflect those Gobang procedures analysis and design, object-oriented development tools and the adoption of specific C# to achieve. Key Words : Socket;?C/S;?Gobang;?play?chess?on?network,C# 目 录 1绪论 5 1.1选题背景和意义 5 1.2国内外研究现状和发展趋势 5 1.3 研究内容与目标 6 2相关理论与技术 7 2.1五子棋简介 7 2.2相关技术简介 7 2.2.1 C/S体系结构 7 2.2.2 SOCKET简介 8 2.2.3 面向对象的理论知识 10 2.2.4 C#.NET 相关知识介绍 10 3系统的分析与设计 11 3.1需求分析 11 3.2 功能分析 11 3.3运行环境 12 4系统的实现 12 4.1概要设计 12 4.2流程图 13 4.3程序详细设计 14 5总结 31 致谢 31 参考文献 32 1绪论 1.1选题背景和意义 五子棋是起源于中国古代的传统黑白棋种之一。现代五子棋日文称之为“连珠”,英译为“Renju”,英文称之为“Gobang”或“FIR”(Five in a Row的缩写),亦有“连五子”、“五子连”、“串珠”、“五目”、“五目碰”、“五格”等多种称谓。? ? 五子棋不仅能增强思维能力,提高智力,而且富含哲理,有助于修身养性。五子棋既有现代休闲的明显特征“短、平、快”,又有古典哲学的高深学问“阴

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档