riichi/include/riichi.hrl

20 lines
187 B
Erlang

-record(tile, {
suit,
value
}).
-record(hand, {
tiles=[],
sets=[]
}).
-record(set, {
count,
tile,
open=true
}).
-record(seq, {
tiles,
open=true
}).