Initial commit

This commit is contained in:
grovedruid
2026-05-12 04:56:41 +02:00
commit 6ee8432c26
243 changed files with 14878 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { useGameState } from './hooks/useGameState';
import StartScreen from './components/StartScreen';
import GameScreen from './components/GameScreen';
export default function App() {
const game = useGameState();
if (game.phase === 'menu') {
return <StartScreen onStart={(mode) => game.startGame(1, mode)} />;
}
return <GameScreen game={game} />;
}