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.
Java Source Code
/**
* Copyright (c) 2010-2011 Yaroslav Geryatovich, Alexander Yakushev
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*///www.java2s.compackage com.bytopia.abalone.mechanics;
/**
* Class that constructs a empty Abalone board.
*
* @author Bytopia
*/publicclass EmptyLayout extends Layout {
/**
* Array that contains the cell description for the starting position.
*/privatebyte[][] start = {
{ N, N, N, N, N, N, N, N, N, N, N },
{ N, E, E, E, E, E, N, N, N, N, N }, // A
{ N, E, E, E, E, E, E, N, N, N, N }, // W
{ N, E, E, E, E, E, E, E, N, N, N }, // C
{ N, E, E, E, E, E, E, E, E, N, N }, // D
{ N, E, E, E, E, E, E, E, E, E, N }, // E
{ N, N, E, E, E, E, E, E, E, E, N }, // F
{ N, N, N, E, E, E, E, E, E, E, N }, // G
{ N, N, N, N, E, E, E, E, E, E, N }, // H
{ N, N, N, N, N, E, E, E, E, E, N }, // I
{ N, N, N, N, N, N, N, N, N, N, N } };
/**
* Returns the starting position.
*/publicbyte[][] getBlackStartField() {
return start;
}
}