@Test public void testGetBoardHeight() { assertEquals(3, start.getBoardHeight()); assertEquals(3, test1.getBoardHeight()); assertEquals(3, test2.getBoardHeight()); assertEquals(3, test3.getBoardHeight()); assertEquals(3, test4.getBoardHeight()); }
@Override public int getBoardHeight() { return BOARD_WIDTH; }
TicTacToeState extends TwoDimensionalBoardGameState { @Override public int getBoardHeight() { return BOARD_WIDTH; } }
TicTacToeState extends TwoDimensionalBoardGameState { @Override public int getBoardHeight() { return BOARD_WIDTH; } TicTacToeState();  TicTacToeState(TicTacToeState state);  TicTacToeState(int[][] board, int player, List<Integer> win); }
TicTacToeState extends TwoDimensionalBoardGameState { @Override public int getBoardHeight() { return BOARD_WIDTH; } TicTacToeState();  TicTacToeState(TicTacToeState state);  TicTacToeState(int[][] board, int player, List<Integer> win); int getNumPlayers(); @Override boolean moveSinglePoint(Point space); @Override boolean endState(); @SuppressWarnings("unchecked") @Override TicTacToeState copy(); @Override Set<BoardGameState> possibleBoardGameStates(BoardGameState currentState); @Override void setupStartingBoard(); @Override int getBoardWidth(); @Override int getBoardHeight(); char[] getPlayerSymbols(); @Override Color[] getPlayerColors(); @Override boolean moveDoublePoint(Point goTo, Point moveTo); @Override boolean moveOnePiece(); }
TicTacToeState extends TwoDimensionalBoardGameState { @Override public int getBoardHeight() { return BOARD_WIDTH; } TicTacToeState();  TicTacToeState(TicTacToeState state);  TicTacToeState(int[][] board, int player, List<Integer> win); int getNumPlayers(); @Override boolean moveSinglePoint(Point space); @Override boolean endState(); @SuppressWarnings("unchecked") @Override TicTacToeState copy(); @Override Set<BoardGameState> possibleBoardGameStates(BoardGameState currentState); @Override void setupStartingBoard(); @Override int getBoardWidth(); @Override int getBoardHeight(); char[] getPlayerSymbols(); @Override Color[] getPlayerColors(); @Override boolean moveDoublePoint(Point goTo, Point moveTo); @Override boolean moveOnePiece(); static final int X; static final int O; static final int NUMBER_OF_PLAYERS; static final int BOARD_WIDTH; }