my $score = ( $totalTries - $minimumTries ) * ( ( $totalTime - $timeInCheckSub ) / $totalTries );