Get desktop application:
View/edit binary Protocol Buffers messages
Used as response type in: Agent.TakeAction
Used as field type in:
tile open DISCARD Yes No TSUMOGIRI Yes No RIICHI No No TSUMO Yes No CLOSED_KAN No Yes ADDED_KAN No Yes KYUSYU No No NO No No CHI No Yes PON No Yes OPEN_KAN No Yes RON Yes No
0:起家, ..., 3:ラス親
Indicates the tile id (0 ~ 135)
Each open (鳴き) is encoded by Tenhou format. See https://github.com/NegativeMjark/tenhou-log#meld-format
Used in:
After draw
九種九牌
After other's discard
Dummy used only to check connection and share round terminal information
Used in:
Publicly observable event, which include 1. publicly observable and actually realized actions taken by all layers 2. publicly observable state transitions made by envionment Note that "No" action is **NOT** collected as event since it's not publicly observable. Also, "Chi" prevented by other player's "Pon/Ron" is also **NOT** collected in event_history. Drawn tile does not use tile entry because it's not publicly observable. Only the fact that the player drew something is collected. Table. Is who/tile/open entry set? who tile open 0. DISCARD Yes Yes No 1. TSUMOGIRI Yes Yes No 2. RIICHI Yes No No 3. CLOSED_KAN Yes No Yes 4. ADDED_KAN Yes No Yes 5. TSUMO Yes Yes No 6. ABORTIVE_DRAW_NINE_TERMINALS Yes No No 7. CHI Yes No Yes 8. PON Yes No Yes 9. OPEN_KAN Yes No Yes 10. RON Yes Yes No 12. DRAW Yes No No 13. RIICHI_SCORE_CHANGE Yes No No 14. NEW_DORA No Yes No 15. ABORTIVE_DRAW_FOUR_RIICHIS No No No 16. ABORTIVE_DRAW_THREE_RONS No No No 17. ABORTIVE_DRAW_FOUR_KANS No No No 18. ABORTIVE_DRAW_FOUR_WINDS No No No 19. EXHAUSTIVE_DRAW_NORMAL No No No 20. EXHAUSTIVE_DRAW_NAGASHI_MANGAN No No No
Used in:
Publicly observable actions
ツモ切り, Tsumogiri
State transitions made by environment. There is no decision making by players. 11 is skipped for the consistency to ActionType
四家立直
三家和了
四槓散了
四風連打
通常流局
流し満貫
Sorted by the dealer order (起家, ..., ラス親)
ranking in {1, 2, 3, 4}
Used in:
, ,[1st open, 2nd open, ...]
Used in:
len(ura_dora_indicators) = 1 + # of Kan
Used in:
Required for Tenhou mjlog.
Used in:
,Used in:
,Sorted by the dealer order (起家, ..., ラス親)
public info
len(dora_indicators) = 1 + # of Kan
Used in:
,Empty if no one wins
Empty if a winner exists
Used in:
,For final score, riichi = 0 if someone wins (or at the end of game)
Following rule holds for all rounds: sum(score.ten) + score.riichi * 1000 == 100000
Used in:
Used in:
Required for Tenhou mjlog.
set if this player is under riichi