Every mahjong engine, read side by side.
Who built it, which rules it plays, how it thinks, and how strong it really is. From Tenhou 10-dan research bots to the open-source models you can run tonight.
What an engine sees
Riichi · East 2 · Turn 9Illustrative policy output, not taken from a specific engine. Tap a tile to see its weight.
Coverage by rule set
Engine research is lopsided. Riichi has a deep bench; most other tables have barely been touched.
Japanese Riichi
7 engines · 2 envsChinese Official
LuckyJ · IJCAI on BotzoneHong Kong
Not yet cataloguedTaiwanese 16-tile
Not yet cataloguedAmerican (NMJL)
Not yet cataloguedIndian
Not yet cataloguedThe engines
Strength figures are as reported by each project or its press coverage. Each name opens a full profile with sources; the link beneath goes straight to the paper, repository or service.
LuckyJ
Protocols & environments
The plumbing engines plug into: message formats for live play, simulators for training, and ladders for ranking.
mjai
Game server and JSON message protocol for riichi bots. Mortal, Akochan and most log reviewers speak it.
{"type":"dahai","actor":0,"pai":"P","tsumogiri":false}
Mjx
Riichi simulator for reinforcement learning, validated against Tenhou logs, about 100× faster than mjai and mjai-compatible.
Botzone
Bot arena that hosts the yearly IJCAI Mahjong AI Competition in Chinese Standard Mahjong, organised by Peking University's AI Lab.
RLCard
Card and tile game toolkit with a simplified mahjong environment. A common starting point for coursework.
How strength is measured
Mahjong is noisy. A hundred hanchan prove little, so we note the ladder, the sample size and who ran it.
Tenhou dan
Rank earned in Tenhou's Tokujou or Houou room. 10-dan is the ceiling only a handful of humans and bots have reached.
Stable dan & R
Estimated long-run rank from placement rates. Better than peak dan because it washes out lucky runs.
Duplicate matches
Engines replay the same walls from every seat. Cuts variance enough to separate close bots in thousands of games, not millions.
| Engine | Peak Tenhou rank | Stable rank | Games | Can you use it? |
|---|---|---|---|---|
| LuckyJ | 10 dan (2023) | 10.68 | 1,321 | No public release |
| Suphx | 10 dan (2019) | 8.74 | 5,760 | Paper only |
| NAGA | 10 dan (per NAGA) | 6.64 at 8 dan | 9,649 | Paid review service |
| Bakuuchi | 9 dan | 6.59 | 30,516 | Paper only |
| Mortal | No ladder rank | – | – | Free reviewer; code AGPL-3.0 |
| Akochan | No ladder rank | – | – | Free reviewer; non-commercial code |
Stable ranks for Suphx, NAGA and Bakuuchi are from the Suphx paper (2019); LuckyJ's is Tencent's figure (2023). Top human 10-dan players averaged about 7.46 in the same comparison.
Sit down against the bots
The engines above mostly live in papers and paid services. To play mahjong against AI today, Mahjong Live has free bot tables in Riichi, Taiwanese, Hong Kong and Indian rules, in your browser.
From the blog
Guides on playing, learning and reviewing mahjong. All posts
NAGA vs Mortal
NAGA is Dwango's paid Riichi review service; Mortal is a free, open-source AI behind the mjai.ekyu.moe reviewer. How they differ, what each costs, and which to use.
Engines ·How to review your Riichi games with AI
A step-by-step guide to AI game review for Riichi mahjong: getting your Tenhou or Mahjong Soul log, choosing Mortal, Akochan or NAGA, and reading the review.
Riichi mahjong ·Three-player Riichi mahjong (sanma)
How to play Riichi mahjong with three players: which tiles are removed, why there's no chi, what happens to the North tile, and which rules vary from table to table.
Built an engine?
Hong Kong, Taiwanese, American and Indian tables are wide open. Send us the repo, the rule set and a match log, and we'll write it up.