/* @refresh reload */
import { render } from 'solid-js/web'
import './index.css'
import App from './App.tsx'
import Game from './Game.tsx'
import { LocalGameStatus } from './model.tsx'

const root = document.getElementById('root')

render(() => window.location.protocol === 'file:' ? <Game offline={true} game={new LocalGameStatus(0)}/> : <App />, root!)
