Idlegame
-Walking skeleton — M0 scaffold.
-diff --git a/src/ui/App.tsx b/src/ui/App.tsx
index 3d42523..81d3f3f 100644
--- a/src/ui/App.tsx
+++ b/src/ui/App.tsx
@@ -1,27 +1,64 @@
import { useEffect } from 'react';
import { gameRuntime } from '../state/runtime';
+import { useGameStore } from '../state/store';
import { ActionPanel } from './ActionPanel';
import { EventLog } from './EventLog';
import { ResourceBar } from './ResourceBar';
+import { SettingsDrawer } from './SettingsDrawer';
+import { StoryPanel } from './StoryPanel';
/**
- * Walking-skeleton view shell. Boots the runtime once on mount; everything else
- * renders from the Zustand store the runtime feeds. M1 turns this into a game.
+ * M1 playable-loop shell. Boots the runtime once on mount; everything else
+ * renders from the Zustand store the runtime feeds.
*/
export function App() {
+ const storyHasUnread = useGameStore((s) => s.storyHasUnread);
+ const settingsOpen = useGameStore((s) => s.settingsOpen);
+ const setSettingsOpen = useGameStore((s) => s.setSettingsOpen);
+
useEffect(() => {
void gameRuntime.boot();
}, []);
return (
- Walking skeleton — M0 scaffold. M1 playable loopIdlegame
- Idlegame
+