mirror of
https://github.com/correl/riichi.git
synced 2024-11-27 11:09:56 +00:00
21 lines
200 B
Erlang
21 lines
200 B
Erlang
-record(tile, {
|
|
suit,
|
|
value
|
|
}).
|
|
|
|
-record(hand, {
|
|
tiles=[],
|
|
sets=[],
|
|
seqs=[]
|
|
}).
|
|
|
|
-record(set, {
|
|
count,
|
|
tile,
|
|
open=true
|
|
}).
|
|
|
|
-record(seq, {
|
|
tiles,
|
|
open=true
|
|
}).
|