toggle menu
mahjong-utils
0.7.7
common
switch theme
mahjong-utils
mahjongutils
Calc
Context
Error
Info
Validation
Exception
mahjongutils.
hanhu
Child
Point
Companion
get
Child
Point
By
Han
Hu()
get
Parent
Point
By
Han
Hu()
Han
Hu
Options
Companion
Parent
Point
Companion
Point
mahjongutils.
hora
Chitoi
Hora
Hand
Pattern
Hora
hora()
Hora
Args
Companion
Hora
Args
Error
Info
both
Tiles
And
Shanten
Result
Are
Null
tiles
Is
Empty
too
Many
Furo
any
Tile
More
Than4
tiles
Num
Illegal
agari
Not
In
Tiles
shanten
Not
With
Got
shanten
Not
Hora
Hora
Args
Validation
Exception
Hora
Hand
Pattern
Companion
Hora
Info
Hora
Options
Companion
Kokushi
Hora
Hand
Pattern
Regular
Hora
Hand
Pattern
Companion
throw
On
Validation
Error()
validate()
mahjongutils.
hora.
helpers
calc
Han()
mahjongutils.
models
Ankan()
Chi()
count
As
Code
Array()
count
As
Map()
Furo
Companion
Furo()
Furo
Serializer
Furo
Type
Chi
Pon
Kan
Ankan
is
Sangen
is
Wind
is
Yaochu
Kan()
Kanchan()
Kotsu()
Mentsu
Companion
Mentsu()
Mentsu
Type
Shuntsu
Kotsu
Penchan()
Pon()
Ryanmen()
Shuntsu()
Tatsu
Companion
Tatsu()
Tatsu
Type
Ryanmen
Kanchan
Penchan
Toitsu
Tile
Companion
Tile
Type
Companion
M
P
S
Z
Toitsu()
to
Tiles
String()
Wind
East
South
West
North
mahjongutils.
models.
hand
Chitoi
Hand
Pattern
Common
Hand
Pattern
Hand
Hand
Pattern
IChitoi
Hand
Pattern
IHas
Furo
IKokushi
Hand
Pattern
IRegular
Hand
Pattern
Kokushi
Hand
Pattern
Regular
Hand
Pattern
mahjongutils.
shanten
as
With
Got
as
Without
Got
chitoi
Shanten()
Chitoi
Shanten
Result
Common
Shanten
Common
Shanten
Args
Common
Shanten
Args
Error
Info
tiles
Is
Empty
too
Many
Furo
too
Many
Tiles
any
Tile
More
Than4
tiles
Num
Illegal
Common
Shanten
Args
Validation
Exception
Common
Shanten
Result
furo
Chance
Shanten()
Furo
Chance
Shanten
Args
Furo
Chance
Shanten
Args
Error
Info
tiles
Is
Empty
too
Many
Tiles
any
Tile
More
Than4
tiles
Num
Illegal
Furo
Chance
Shanten
Args
Validation
Exception
Furo
Chance
Shanten
Result
Improvement
kokushi
Shanten()
Kokushi
Shanten
Result
regular
Shanten()
Regular
Shanten
Result
Shanten
shanten()
Shanten
Result
Shanten
With
Furo
Chance
Shanten
With
Got
Shanten
Without
Got
throw
On
Validation
Error()
Union
Shanten
Result
validate()
mahjongutils.
yaku
Default
Yaku
Serializer
Yaku
Yakus
Default
Yaku
Serializer
mahjong-utils
/
mahjongutils.models.hand
/
IKokushiHandPattern
IKokushi
Hand
Pattern
interface
IKokushiHandPattern
:
HandPattern
以国士无双为目标的手牌
Inheritors
KokushiHoraHandPattern
KokushiHandPattern
Members
Properties
furo
Link copied to clipboard
open
override
val
furo
:
List
<
Furo
>
副露
menzen
Link copied to clipboard
open
val
menzen
:
Boolean
是否门清
remaining
Link copied to clipboard
abstract
val
remaining
:
List
<
Tile
>
浮牌
repeated
Link copied to clipboard
abstract
val
repeated
:
Tile
?
重复的幺九牌
tiles
Link copied to clipboard
open
override
val
tiles
:
List
<
Tile
>
手牌(包括门前与副露)
yaochu
Link copied to clipboard
abstract
val
yaochu
:
Set
<
Tile
>
幺九牌