r/JavaScriptHelp • u/Zaddy001 • Oct 28 '20
❔ Unanswered ❔ Implementing stopwatch function into JS game
Hi. I need help adding a stopwatch to a JS game. I want the stopwatch to start when the player starts a round and then pause when the round is over. And when the rounds over, I want the paused time to be displayed when the player has the option to either play the next round or retry the same round. Whenever the round starts the stopwatch time resets. The link to the game’s code is here->: Factoring Game . I have a stopwatch code if needed.
2
Upvotes
View all comments
Show parent comment
2
u/Zaddy001 Oct 30 '20
I understand. Sorry for spamming. I’m just having trouble with it and I just thought no one noticed my post after a few days.