import { useGameStore } from '../store' import { GUIDE_STEPS, computeGuide, guideAdvance } from '../../game/engine/kernel/guide' export function GuideStrip() { const world = useGameStore((s) => s.world) const revision = useGameStore((s) => s.revision) const bump = useGameStore((s) => s.bump) void revision if (!world) return null const g = computeGuide(world) if (g.done || world.state.year > 2) return null const step = GUIDE_STEPS[g.step] if (!step) return null const advance = () => { guideAdvance(world, g.step + 1) bump() } return (
{step.title} {step.hint}
) }