本论文主要阐述以面向对象的程序开发语言,Eclipse为开发工具, 基于智能手机Android系统之上设计的一个五子棋游戏。五子棋起源于中国古代的传统黑白棋种之一,它不仅能增强思维能力提高智力,而且富含哲理,有助于修身养性。移动互联网的到来极大的改变了我们的生活,而Android是一种以Linux为基础的开放源码操作系统,其一出现就迅速占领了智能机操作系统市场,所以在Android平台上开发显得尤为重要。
本系统中设定了人机对战,人人对战和联机对战三种模式。人机对战实现的是电脑AI算法,人人对战是在同一机器上两人游戏,联机对战是不同机器上的两人对战,均只进行胜负的判定。当然,对算法的探讨将是本文的最大亮点。
关键词:Android,五子棋,电脑AI,软件工程
Abstract
This paper mainly expounds the object-oriented program development in eclipse for language development tool, smartphone Android based on above design a five in a row game. Gobang originated in China ancient traditional black white kind, it not only can enhance one of thinking capacity, improve intelligence and high in philosophy, helps to cultivate one's morality raises a gender. Arrival of the mobile internet era has greatly changed our lives, and android is Linux-based open source operating system quickly occupied the smartphone operating system. Android development is particularly necessary under the circumstances.
This system is the system that set the man-machine against ,everyone against and linking-against three patterns. The realization man-machine against some simple AI algorithm。Everyone against and linking-against are just win the judgement of the party. Of course, discussion o