Hiyve Components - v1.0.0
    Preparing search index...
    • A deck of cards played through: each card with its answer checked the moment a choice is made or when Check is pressed, a word and a sound for right or wrong, another go after a wrong answer (unless told otherwise) — up to maxTries, after which the card shows its right answer and the player moves on — and the score card at the end.

      Parameters

      Returns Element | null

      <DeckPlayer settings={{ cards: repeatCards({ kind: 'spellOnStaff' }, 8) }} seed={seed} onDeckCompleted={(summary, record) => save(record)} onAnother={() => setSeed(newSeed())} />