When engineering browser-based games, the frontend architecture is constrained by a single, unforgiving reality: the JavaScript main thread is shared between the game loop, layout calculations, and ...