/**
  * Creates a deep copy of the given TicTacToe game state.
  *
  * @param other the TicTacToe game state to copy
  */
 public TicTacToeGameState(TicTacToeGameState other) {
   this.board = new GameBoard(other.board);
   this.currentPlayer = other.getCurrentPlayer();
   this.lastMove = other.lastMove;
 }