games/2048/js/application.js
hexahigh f738ccef4f e
2022-05-01 19:18:13 +02:00

5 lines
197 B
JavaScript

// Wait till the browser is ready to render the game (avoids glitches)
window.requestAnimationFrame(function () {
new GameManager(4, KeyboardInputManager, HTMLActuator, LocalStorageManager);
});