public GameState makeMove(GameState state, int x, int y) { GameState temp = getMove(state, x, y); if (temp != null) { presentState = temp; } return presentState; }