下载后可任意编辑Linu 环境下五子棋游戏设计毕业设计方案论文终稿下载后可任意编辑武汉轻工大学毕业设计(论文)设计(论文)题目:Linux环境下五子棋游戏设计 姓 名 何志军 学 号 1005021 21 院 (系) 数学与计算机学院 专 业 信息管理与信息系统 指导老师 吴 巍 2024年 5月13日摘 要五子棋起源于古代中国,进展于日本,风靡于欧洲,不仅以其简单易学的特性,为广阔群众所喜闻乐见,而且又有深奥的技巧和高水平的国际性竞赛。它的棋文化源渊流长, 具有东方的神奇和西方的直观,既有“场”的概念,亦有“点”的连接,它是中西文化的沟通点,是古今哲理的结晶。 五子棋是一种两人对弈的纯策略型棋类游戏,应用 C 语言编写程序可以在计算机上实现二人对弈五子棋功能。二人对弈五子棋程序由图像生成、光标移动与落子、推断胜负和系统帮助等子程序构成;程序中应用了结构体、数组、全局变量、按键处理和图形编程等元素和语句。程序通过棋盘和棋子图像生成、二人移子与落子和推断胜负等功能的实现,在计算机上实现了二人五子棋对弈。 关键词:C 语言;五子棋;数组;图形编程 下载后可任意编辑abstractGobang game is originated in ancient China, development in Japan, popular in Europe, not only for its simple properties, as the masses love to see and hear, but also has a profound skills and a high level of international competition. Its chess culture origin is long, has the Eastern mysticism and western visual, both " field " concept, also has a" point" connection, it is the point of cultural communication, is the crystallization of ancient and modern philosophy.Gobang is a traditional checker-type game in which the lining up of five pieces in a straight line scores victory. And C language can accomplish a 2-player gobang on computers. This 2-player gobang program contains 4 main sections, they are, graphics, movement and selection, victory judgment and helping system. Several elements and sentences of C programming language such as structural element, array, global variables, press pr...