public void startNewGame() { this.strategy = strategy.newInstance(); gameState = new GameState(); board = strategy.getBoard(); view.restartGame(); }
public int makeMove() { int movePosition = strategy.makeMove(); gameState.setLastMove(movePosition); return movePosition; }
public boolean wonTheGame(int playerMark, SeriesSize winningSeriesSize) { return strategy.wonTheGame(playerMark, winningSeriesSize); }