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

    Interface ScoreOptions

    How a deck is scored.

    interface ScoreOptions {
        firstTryBonus: number;
        pointsPerCard: number;
        retryPenalty: number;
        speedBonus: number;
        speedBonusMs: number;
        streakBonus: number;
    }
    Index

    Properties

    firstTryBonus: number

    More for a card right first time

    pointsPerCard: number

    For every card right

    retryPenalty: number

    Taken off a card for each wrong try before it was got right

    speedBonus: number

    Up to this much more for a quick answer

    speedBonusMs: number

    The time by which the speed bonus has run out: an instant answer earns the whole bonus, and it shrinks evenly to nothing at this many milliseconds

    streakBonus: number

    For each card right in a row after the first