tallyPoints(levelNumber, totalScore, grade) {
    if (this.isEpic()) {
      this.currentEpicGrades[levelNumber] = grade;
      this.currentEpicScore += totalScore;
    } else {
      this.score += totalScore;
    }
  }
/**
   * Calculates the total score and secondary scores after playing a level.
   *
   * @param {number} levelNumber The number of the level.
   * @param {Object} score The score of the play.
   */
Calculates the total score and secondary scores after playing a level.
@param {number} levelNumber The number of the level.
@param {Object} score The score of the play.
Calculates the total score and secondary scores after playing a level . @param { number } levelNumber The number of the level . @param { Object } score The score of the play .
tallyPoints(levelNumber, totalScore, grade) {
    if (this.isEpic()) {
      this.currentEpicGrades[levelNumber] = grade;
      this.currentEpicScore += totalScore;
    } else {
      this.score += totalScore;
    }
  }
tallyPoints ( levelNumber , totalScore , grade ) { if ( this . isEpic ( ) ) { this . currentEpicGrades [ levelNumber ] = grade ; this . currentEpicScore += totalScore ; } else { this . score += totalScore ; } }
Calculates the total score and secondary scores after playing a level.
Calculates the total score and secondary scores after playing a level .