uengine-runner/2048/js/application.js
2023-04-19 21:57:17 +08: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);
});