Hiyve Components - v1.0.0
    Preparing search index...
    • A deck in a component: the round being played, answering it, moving on, ending early and starting over. The deck is drawn from settings and seed, and drawn again whenever either changes. Each round's time is taken from when it is first shown.

      Parameters

      Returns UseDeckResult

      const deck = useDeck({ settings, seed, keepOpenWhenWrong: true });
      const right = deck.answer(answer);