Archer

lq Interface Basics

Package Name

  • lq

Import

  • import "github.com/moxcomic/lq"

NotifyAIResult

Field NameTypeNotes
Result[]*lq.AIResult
ShantenintShanten (number of tiles needed to tenpai)
RrrrintDeprecated
MmmmintDeprecated

AIResult

Field NameTypeNotes
Typeuint32Operation type
TilestringTile name
MoqieboolWhether it is the last drawn tile
Combination[]stringTile combination for Chii, Pon, or Kan
Scorefloat64Recommendation value
Chongfloat64Risk value