EndG-2048/assets/js/application.js

7 lines
329 B
JavaScript
Raw Normal View History

2022-10-17 09:24:21 +02:00
// Wait till the browser is ready to render the game (avoids glitches)
2023-03-25 19:34:30 +01:00
window.requestAnimationFrame(function (){
let storage = new RemoteStorageManager;
new GameManager(4, new KeyboardInputManager, new HTMLActuator("game1"), storage, "game1");
new GameManager(4, undefined, new HTMLActuator("game2"), storage, "game2");
2022-10-17 09:24:21 +02:00
});