private void CalculeteStars(GameMetrics gameMetrics) { float percentage = (gameMetrics.GetScore() + 0f) / (MAX_SCORE + 0f); gameMetrics.SetStars(percentage > 0.85 ? 3 : percentage > 0.5 ? 2 : 1); }