frontend
    Preparing search index...

    Props for the PlayerHandSection component.

    interface PlayerHandSectionProps {
        cardWidth: number;
        dataTutorialPrefix: string;
        humanPlayer: PlayerWithCards;
        isMobile: boolean;
        selectedCardIndices: number[];
        toggleCard: (idx: number) => void;
    }
    Index

    Properties

    cardWidth: number

    Card image width in pixels.

    dataTutorialPrefix: string

    The game-specific tutorial prefix used for the data-tutorial attribute (e.g., "ht", "sp").

    humanPlayer: PlayerWithCards

    The human player data containing cards.

    isMobile: boolean

    Whether to render the mobile two-row grid instead of desktop buttons.

    selectedCardIndices: number[]

    Indices of currently selected cards.

    toggleCard: (idx: number) => void

    Callback invoked when a card at the given index is toggled.