Class boardRules
java.lang.Object
boardRules
public class boardRules
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
directions
public static int[] directions
boardRules
public boardRules()
bracket
public static MyButton[] bracket(MyButton[] bBoard,
int player,
int spot)
AIbracket
public static int[] AIbracket(MyButton[] bBoard,
int player,
int spot)
wouldBracket
public static boolean wouldBracket(MyButton[] bBoard,
int player,
int spot)
getLegalMoves
public static int[] getLegalMoves(MyButton[] bBoard,
int player)
opponentColor
public static int opponentColor(int player)