If there is no focus on the tab, the game quits running. This is due to `setInterval()` throttling done by browsers. Using WebWorkers should be the fix to this.
If there is no focus on the tab, the game quits running. This is due to
setInterval()throttling done by browsers.Using WebWorkers should be the fix to this.