基于ios平台的游戏“五子棋”毕业论文设计.docVIP

  • 55
  • 0
  • 约3.1万字
  • 约 43页
  • 2016-11-09 发布于辽宁
  • 举报

基于ios平台的游戏“五子棋”毕业论文设计.doc

毕业设计说明书 题 目:Abstract This paper mainly expounded a mental game gobang .It is on the basis of iOS development platform, using the Xcode development tools and objective - c and c + + language to develop,and runed in the iPad. Gobang is a game of two pure strategy type chess game. Chess can be used in the game of go.Gobang is one of the traditional reversi which is originated from the ancient Chinese . In recent years, with the popularity of smart phones, Many mobile applications on mobile operating system appeared.So, developing a Gobang game can be run on iOS is meaningful. In the process of development, the first thing is learning the syntax of objective-c language,the objective-c language is in the basis of c language and add some Object oriented expansion , it took me about a weeks time to study.Next, I start to learn the building principle of iOS app (learning the usage of view controller and view , the use of application of delegate and so on ) and the use of some common controls, and try to make some simple interface on Xcode tool structures.At this time the xib file interface is used to build, through direct drag controls to generate the interface.Next, I began to try to replace the xib file by writting codes.After doing this things, I start to build gobang interface, in addition to some commonly used controls (buttons and labels), it is important to draw the chessboard and chess ,the board and chess can not use normal controls to display, I need to draw them.After the work finished, interface can be displayed. Next, I should do some work on board, such as the events by click each button , the events by click board, the function of judes success ,giving up and regret and so on.Then,I began to design and realize the gobang algorithm. Gobang algorithm has been more mature, my work is understanding the algorithm and relize it, and I will add some new things.Gobang algorithm generally includes valuation algorithm and search algorithm, the code of valuation al

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档