mirror of
https://github.com/danog/2048.git
synced 2024-11-26 19:34:44 +01:00
5 lines
197 B
JavaScript
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);
|
|
});
|