```
let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1;
// Write your code below:
// computer generates random number
const generateTarget = Math.floor(Math.random () * 10)
// compare guesses and find out the winner
const compareGuesses = (human, computer, target) => {
let humanGuess = Math.abs(target - human)
let computerGuess = Math.abs(target - computer)
return userGuess <= computerGuess
// comparing the difference
if(humanGuess <= computerGuess) {
return true
} else if (humanGuess > computerGuess) {
return false
}
}
// updating the score
const updateScore = winner => {
if(winner === 'human') {
humanScore+=1
} else if(winner === 'computer') {
computerScore+=1
}
}
//Advanced Round
const advanceRound = () =>
currentRoundNumber +=1
```

Hey there, my code doesn’t return any values, could you please have a look! Many thanks in advance