import { Routes, Route } from 'react-router-dom'
import Landing from './pages/Landing.tsx'
import LocalSetup from './pages/LocalSetup.tsx'
import Game from './pages/Game.tsx'

export default function App() {
  return (
    <Routes>
      <Route path="/" element={<Landing />} />
      <Route path="/local-setup" element={<LocalSetup />} />
      <Route path="/play/:roomId" element={<Game />} />
      <Route path="*" element={<LocalSetup />} />
    </Routes>
  )
}
