664546ef9a
Dependency injection and hide best score for incompatible browsers
7 lines
267 B
JavaScript
7 lines
267 B
JavaScript
document.addEventListener("DOMContentLoaded", function () {
|
|
// Wait till the browser is ready to render the game (avoids glitches)
|
|
window.requestAnimationFrame(function () {
|
|
new GameManager(4, KeyboardInputManager, HTMLActuator, LocalScoreManager);
|
|
});
|
|
});
|