Mjai Protocol for 3-Player¶
For API request and response body formats generally, please refer to the 4-player version. This page only includes the difference in formats for 3-player AI models.
API Request and Response Body Formats Changes¶
Besides the change in the requirement that the player ID must be an integer between 0 and 2 inclusive, the Mjai event start_kyoku has slight changes in its format.
There is an additional Mjai event and action kita.
Since there are no chi operations in 3-player games, the Mjai event and action chi is removed.
start_kyoku¶
{"type":"start_kyoku","bakaze":"E","dora_marker":"S","kyoku":1,"honba":0,"kyotaku":0,"oya":0,"scores":[35000,35000,35000],"tehais":[["3p","3p","9p","9p","3s","5s","6s","7s","7s","8s","9s","P","C"],["9m","1p","1p","2p","2p","4p","8p","4s","5sr","E","W","W","F"],["9m","1p","2p","4p","6p","8p","8p","1s","7s","S","W","N","C"]]}
The length of the scores and tehais fields must be 3 instead of 4.