兰州大学机构库 >数学与统计学院
围棋程序的实现
Alternative TitleThe realization of Go procedure
杜书浩
Thesis Advisor宋海涛
2015-05-12
Degree Grantor兰州大学
Place of Conferral兰州
Degree Name学士
Keyword围棋 c语言程序 图形函数 围棋的气
Abstract围棋,是一种二人策略性的对战棋类游戏,使用格状棋盘和黑白二子进行对弈,本程序旨在实现围棋电子化。在本程序中,运用到了多种图形函数,包括坐标的定位;颜色的设置(背景颜色和文本颜色等的设置)、线条的颜色、填充的颜色等;还有各种风格,直线风格、文本风格、填充风格;以及画圆、画线、画矩阵函数;扬声器的打开、关闭;各种图形系统的初始化和关闭;各种图形屏幕和文字屏幕的清除;从键盘上输入键值等。本程序是用C言语实现围棋游戏,能够进行基本的游戏操作。程序实现界面的初始化功能、下棋功能、棋子气的判断与胜负判断功能和帮助功能。
Other AbstractGo is a kind of strategic player-to player chess game, using latticed checkerboard and black and white chess pieces. The aim of this paper is to achieve the electronic of Go by designing a procedure. There remain a number of diagram functions among the procedure, including location of coordinate, color settings(e.g background color and text color) and the color of line and padding. What’s more, we also involve so many different styles. For instance, line style, text style and padding style. We also focus on the description of a circle, diagram and Matrix function. Turn on and turn off of loudspeaker, elimination about divergent graph screens and text screens and input of key assignments are also discussed. Our procedure plans to realize the basic operation in Go, which realizes several functions including initialization on the procedure achievement interface, playing chess, an accurate estimation about gas of chess, and the judgment of consequence, offering help service.
URL查看原文
Language中文
Document Type学位论文
Identifierhttps://ir.lzu.edu.cn/handle/262010/224601
Collection数学与统计学院
Recommended Citation
GB/T 7714
杜书浩. 围棋程序的实现[D]. 兰州. 兰州大学,2015.
Files in This Item:
There are no files associated with this item.
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Altmetrics Score
Google Scholar
Similar articles in Google Scholar
[杜书浩]'s Articles
Baidu academic
Similar articles in Baidu academic
[杜书浩]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[杜书浩]'s Articles
Terms of Use
No data!
Social Bookmark/Share
No comment.
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.