'use client'; import type { GameView } from '@/game/engine'; import { CardInspector, CardRules } from './card-inspector'; /** Historical observations arrive only in the inspecting player's projection. */ export function HarkonnenExchangeInspection({ game }: { game: GameView }) { const record = game.harkonnenExchangeInspection; if (!record || record.owner !== game.me) return null; const target = game.players.find(player => player.id === record.target); return (
Your Harkonnen inspection ยท Turn {record.turn}

{record.kind === 'draw' ? `Cards you took and inspected from ${target?.name ?? 'the other player'} during Bidding.` : `Cards in your hand before the automatic return to ${target?.name ?? 'the other player'} during Bidding.`} {' '}This is a record of what you saw then. These cards may have changed hands since.

); }