Number Guesser Project

https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-javascript-syntax-part-i/modules/fecp-challenge-project-number-guesser/projects/number-guesser-independent-practice.

Hello Everyone. Not sure why my code is still returning a value of 1. Please advise? my code is listed below

let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1;

// Write your code below:

const generateTarget = () => {

return Math.floor(Math.random() * 10);

}

const compareGuesses = (userGuess, computerGuess, targetNumber) => {
if (Math.abs(userGuess - targetNumber) < Math.abs(computerGuess - targetNumber)) {
return true;
} else if (Math.abs(computerGuess - targetNumber) < Math.abs(userGuess - targetNumber)) {
return false;
} else {
return true;

}
compareGuesses();
generateTarget();

const updateScore = (winner) => {
if (winner == ‘computer’) {
computerScore++;
} else if (winner == ‘human’) {
humanScore++;
}
}

updateScore(‘human’);
console.log(humanScore);

updateScore(‘computer’);
console.log(computerScore);
compareGuesses();
generateTarget();

const advanceRound = () => {
currentRoundNumber = currentRoundNumber + 1;
}
advanceRound();
updateScore();
compareGuesses();
generateTarget();