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