1 changed files with 1 additions and 1 deletions
@ -1,5 +1,5 @@ |
|||
export function calculateSquareScore (answers, finalTime) { |
|||
let timeScore = (60 - finalTime) * 1000; |
|||
let timeScore = Math.round((60 - finalTime) * 1000); |
|||
let answerScore = answers * 1000; |
|||
let finalScore = timeScore + answerScore; |
|||
return finalScore; |
|||
|
Loading…
Reference in new issue