import { h } from 'preact';
import { GameUI } from 'boardgame-phaser';
import * as ticTacToe 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={ticTacToe} gameScene={GameScene}/>,
});

ui.mount();
