-
Notifications
You must be signed in to change notification settings - Fork 2
Protocol
yuugata edited this page Nov 9, 2021
·
11 revisions
This section describes the additional protocol for 3-player mahjong.
The basic protocol for mjai, please refer to here.
(<-) Server to Client, (->) Client to Server
<- {"type":"tsumo","actor":0,"pai":"C"}
-> {"type":"nukidora","actor":0,"pai":"N"}
<- {"type":"nukidora","actor":0,"pai":"N"}
-> {"type":"none"}
<- {"type":"tsumo","actor":0,"pai":"E"}
-> {"type":"dahai","actor":0,"pai":"E","tsumogiri":true}
<- {"type":"dahai","actor":0,"pai":"E","tsumogiri":true}
-> {"type":"none"}