import { h } from 'preact';
import { GameUI } from 'boardgame-phaser';
import { gameModule } from './game/tic-tac-toe';
import './style.css';
import App from "@/ui/App";
import {GameScene} from "@/scenes/GameScene";

const ui = new GameUI({
  container: document.getElementById('ui-root')!,
  root: <App gameModule={gameModule} gameScene={GameScene}/>,
});

ui.mount();
