Hiyve Components - v1.0.0
    Preparing search index...

    Function startTrail

    • A trail: a board-game track of spaces with a card at every turn. A right answer rolls the die and moves the piece on; a wrong one leaves it where it is. Landing on a shortcut's space jumps to where it leads — forward or back. The game ends at the last space, or when the cards run out. Cards are drawn from the settings' list, cycled: three for every space, so a player who answers every card right always reaches the end. The first two for every space are dealt as one deck from the seed; the rest follow it.

      Parameters

      Returns TrailState

      When there are no cards, or the trail has fewer than two spaces