public void updateGameState() {
    if (weWonTheGame()) {
      gameState.setComputerWon();
      view.computerWonGame();
    }

    if (theyWonTheGame()) {
      gameState.setHumanPlayerWon();
      view.humanComputerWonGame();
    }

    if (isDraw()) {
      gameState.setDraw();
      view.gameIsADraw();
    }
  }
 public void startNewGame() {
   this.strategy = strategy.newInstance();
   gameState = new GameState();
   board = strategy.getBoard();
   view.restartGame();
 }
 public void markMove(int position, int playerMark) {
   int row = Board.getRowCoordFor(position);
   int column = Board.getColumnCoordFor(position);
   board.setPosition(row, column, playerMark);
   view.drawMark(row, column, playerMark);
 }