@hanabi-live/game
    Preparing search index...

    Function sudokuIsCardNeededForMaxScore

    • Check if the card can still be played in a Sudoku variant. A stack without a start can start at any unused rank, but only a start that still lets the game reach its max score counts.

      Parameters

      • suitIndex: 0 | 1 | 2 | 3 | 4 | 5
      • rank: 1 | 2 | 3 | 4 | 5 | 7
      • deck: readonly CardState[]
      • playStackStarts: Readonly<Tuple<2 | 5 | 1 | 7 | 3 | 4 | undefined, NumSuits>>
      • variant: Variant

      Returns boolean