import type { Card } from '@/game/cards'; import { CardInspector } from './card-inspector'; /** Only receives the public faces of cards already removed from the game. */ export function RemovedTreachery({ cards }: { cards: readonly Card[] }) { if (cards.length === 0) return null; return (
Removed from game ({cards.length} {cards.length === 1 ? 'card' : 'cards'})

These used cards cannot be drawn, reshuffled or recovered from discard.

); }