First of all I want to know if I am right about cause of the problem.
const updateScore = (isCorrect) => { // Update Game Variables if (isCorrect === t