- 1 -
基于 Android 的五子棋游戏设计
软件工程
【摘 要】本论文主要阐述以面向对象的程序开发语言 eclipse 为开发工具, 基于智能
手机 Android 之上设计一个五子棋游戏。五子棋起源于中国古代的传统黑白棋种之一,它不
仅能增强思维能力 提高智力,而且富含哲理,有助于修身养性。本系统是本系统中设定了人
机对战和人人对战两种模式。人机对战实现的是一些简单的算法,人人对战只是进行了输
赢方的判定。它与 javame 的五子棋设计有许多的不一样,Android 本来就是全触摸的形式,
而且操作非常简单。
【关键词】机器人, 生命周期,算法,线程
The five in a row game based on Android
【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. This system is the system that set the man-machine against and
everyone against two patterns. The realization man-machine against some simple algorithm,
everyone was against just win the judgement of the party. It has with the javame gobang chess
design many are dissimilar, Android is the entire touching form originally, moreover operates is
simple.
【Key words】 Android,Activity, arithmetic,Thread