One of my students has been creating games on his own. He wanted to know why his timer is slowing down even though he resets it. I could not see why that would happen. Can someone else look at the code and see if they can determine why. Here is the link: https://studio.code.org/projects/gamelab/nmT1DZxxTYbH1r8iVjJ6g_PRdTGViZcm-_kFfHuDGkg
Can you give more information about the problem? I looked at the game, but I saw two timer variables that appear to be working on a loop, but neither of them seemed to be slowing down for me. I couldn’t really figure out how to play the game, so maybe there’s a case that I wasn’t accounting for. Can you tell me what I should do in gameplay to reproduce the error?
I am so sorry. I was busy this week. The student told me he removed console.log command that that fixed the problem.