'use client'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { fmt } from '@/lib/game/stores'; import { useGameStore } from '@/lib/game/stores'; interface GameOverScreenProps { day: number; hour: number; insightGained: number; totalInsight: number; } export function GameOverScreen({ day, hour, insightGained, totalInsight }: GameOverScreenProps) { const startNewLoop = () => { useGameStore.getState().startNewLoop(); }; return (
LOOP ENDS

The time loop resets... but you remember.

{fmt(insightGained)}
Insight Gained
{day}
Day Reached
{hour}
Hour
{fmt(totalInsight)}
Total Insight
); }