initial commit
This commit is contained in:
11
src/main.ts
Normal file
11
src/main.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import "./style.css";
|
||||
import { GameApp } from "./game/GameApp";
|
||||
|
||||
const appRoot = document.querySelector<HTMLDivElement>("#app");
|
||||
|
||||
if (!appRoot) {
|
||||
throw new Error("Missing #app root element");
|
||||
}
|
||||
|
||||
const game = new GameApp(appRoot);
|
||||
game.start();
|
||||
Reference in New Issue
Block a user