Skip to content
moxcomic edited this page Jan 22, 2024 · 8 revisions

Import

github.com/moxcomic/lq

// Please be sure to use the 'Get' method, such as 'GetTile()'.

type AIResult struct {
  Type uint32
  Tile string
  Moqie bool
  Combination []string
  Score float64
  Chong float64
}

type NotifyAIResult struct {
  Result []*lq.AIResult
  Shanten int
  Rrrr int
  Mmmm int
}

Type

Type Name Type Value Desc
Discard 1 -
Chi 2 -
Pon 3 -
Ankan 4 -
Minkan 5 -
Kakan 6 -
Riichi 7 -
Tsumo 8 -
Ron 9 -
Ryukyoku 10 -
Cancel 321 -