Back to project page abalone-android.
The source code is released under:
GNU General Public License
If you think the Android project abalone-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright (c) 2010-2011 Yaroslav Geryatovich, Alexander Yakushev * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. */// w w w.j ava 2 s.co m package com.bytopia.abalone.mechanics; /** * The most weak configuration of AI. Uses one-step depth analysis. Level * "Easy". * * @author Bytopia */ public class AiAnn extends ArtificialIntilligence { public Move requestMove(Game g) { return findNextMove(g.getBoard(), g.getSide(), 1, CLEVER, false); } }