Hi everybody:

i am a bit stuck in the numberguesser exercise

i have checked with the completed exercise and the code seems to me to be the same but i cant make work still.

maybe a new set of eyes can see where is the mistake

thanks in advanced.

```
let computerScore = 0;
let currentRoundNumber = 1;
// Write your code below:
let humanScore = 0;
let computerScore = 0;
let currentRoundNumber = 1 ;
// Write your code below:
const generateTarget = () =>{
let randomNUmber = Math.floor(Math.radom()*10);
return randomNumber;
}
const compareGuesses = (humanGuess,computerGuess,Targetguess) =>{
let humandifference = Math.abs(Targetguess - humanGuess);
let computerDifference = Math.abs(Targetguess - computerGuess);
return humanDifference <= computerDifference;
}
}
const updateScore = (winner) => {
if( winner === 'human'){
humanScore ++;
}else if (winner === 'computer'){
computerScore ++;
}
}
const advanceRound = () =>{
currentRoundNUmber ++ ;
}
```