import { h } from 'preact';
import { GameUI } from 'boardgame-phaser';
import * as gameModule from './game/onitama';
import './style.css';
import App from "@/ui/App";
import {OnitamaScene} from "@/scenes/OnitamaScene";

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

ui.mount();
