public void endGame(boolean complete) {
    if (isActive()) {
      int score = resultsController.getCorrect() * 10;
      stop(complete, score);
    }

    if (complete) {
      getMainFrame()
          .getController(GameResultsController.class)
          .showResultsScreen(this.getEarnedAchievements());
    }
  }
  public void startGame() {
    resultsController.notifyResultsController("Number Matching Game");
    resetAnswersForNextGame();

    // Start Stat Recording
    List<Game> games = LessonGameManager.getAllActiveGames();
    for (Game game : games) {
      if (game.getName().contains("Match")) start(game);
    }

    getMainFrame().changeView(NumberMatchingGameView.class);
  }
  public void startGame() {
    resultsController.notifyResultsController("Arithmatic Game");
    buildQuestionSet();
    currentQuestionNumber = 0;
    refreshCurrentQuestion();
    getMainFrame().changeView(ArithmaticGameView.class);
    getMainFrame().getView(ArithmaticGameView.class).setBackground();

    // Start Stat Recording
    List<Game> games = LessonGameManager.getAllActiveGames();
    for (Game game : games) {
      if (game.getName().contains("Click")) start(game);
    }
  }