feat: single player
This commit is contained in:
10
src/index.tsx
Normal file
10
src/index.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
/* @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!)
|
||||
Reference in New Issue
Block a user