In building Maths Magic, the issue of timing has come up time and time again. This is because timers are needed for counting down and to delay code execution in the game.
I find the setTimeout function easier to use as I have used in some games I developed in the past.
To be honest, this represents a breakthrough with the game. Once this phase is finished, I intend to add the other screens and make it a polished game fit for release.