ritchie/model/riichi

Riichi declaration state of a player.

Types

pub type Riichi {
  Riichi(double: Bool, ippatsu: Bool)
}

Constructors

  • Riichi(double: Bool, ippatsu: Bool)

    Arguments

    double

    Whether riichi was declared on the player’s first discard (double riichi).

    ippatsu

    Whether the win happened within one player turn cycle of the declaration.

✨ Search Document