@Test public void testGetPlayerColors() { assertArrayEquals(new Color[]{Color.black, Color.white}, start.getPlayerColors()); }
@Override public Color[] getPlayerColors() { return new Color[]{Color.black, Color.white}; }
OthelloState extends TwoDimensionalBoardGameState { @Override public Color[] getPlayerColors() { return new Color[]{Color.black, Color.white}; } }
OthelloState extends TwoDimensionalBoardGameState { @Override public Color[] getPlayerColors() { return new Color[]{Color.black, Color.white}; } OthelloState();  OthelloState(OthelloState state);  OthelloState(int[][] board, int nextPlay, List<Integer> win); }
OthelloState extends TwoDimensionalBoardGameState { @Override public Color[] getPlayerColors() { return new Color[]{Color.black, Color.white}; } OthelloState();  OthelloState(OthelloState state);  OthelloState(int[][] board, int nextPlay, List<Integer> win); int getNumPlayers(); @Override boolean endState(); @Override boolean moveSinglePoint(Point goTo); @SuppressWarnings("unchecked") @Override Set<T> possibleBoardGameStates(T currentState); @SuppressWarnings("unchecked") @Override OthelloState copy(); @Override List<Integer> getWinners(); @Override void setupStartingBoard(); @Override int getBoardWidth(); @Override int getBoardHeight(); @Override char[] getPlayerSymbols(); @Override Color[] getPlayerColors(); @Override boolean moveDoublePoint(Point goTo, Point moveTo); @Override boolean moveOnePiece(); String toString(); }
OthelloState extends TwoDimensionalBoardGameState { @Override public Color[] getPlayerColors() { return new Color[]{Color.black, Color.white}; } OthelloState();  OthelloState(OthelloState state);  OthelloState(int[][] board, int nextPlay, List<Integer> win); int getNumPlayers(); @Override boolean endState(); @Override boolean moveSinglePoint(Point goTo); @SuppressWarnings("unchecked") @Override Set<T> possibleBoardGameStates(T currentState); @SuppressWarnings("unchecked") @Override OthelloState copy(); @Override List<Integer> getWinners(); @Override void setupStartingBoard(); @Override int getBoardWidth(); @Override int getBoardHeight(); @Override char[] getPlayerSymbols(); @Override Color[] getPlayerColors(); @Override boolean moveDoublePoint(Point goTo, Point moveTo); @Override boolean moveOnePiece(); String toString(); static final int BLACK_CHIP; static final int WHITE_CHIP; }