Mahjong Engines
The index of mahjong AI

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.

7Engines indexed
6Rule sets tracked
4Protocols & envs

What an engine sees

Riichi · East 2 · Turn 9
Selected discard
White Dragon
Isolated honor. Leaves 2–5 sou two-sided wait.
Policy weight
91%

Illustrative 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 envs

Chinese Official

LuckyJ · IJCAI on Botzone

Hong Kong

Not yet catalogued

Taiwanese 16-tile

Not yet catalogued

American (NMJL)

Not yet catalogued

Indian

Not yet catalogued

The 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.

Engine Rules How it thinks Strength Access

Suphx

Microsoft Research Asia · Paper ↗
RulesRiichi
How it thinksDeep reinforcement learning with oracle guiding, global reward prediction and run-time policy adaptation.
StrengthTenhou 10-dan (2019)
AccessPaper only

LuckyJ

Tencent AI Lab · Announcement ↗
RulesRiichi, Chinese Official
How it thinksSelf-play reinforcement learning with regret minimization (the ACH algorithm).
StrengthTenhou 10-dan, stable 10.68 (2023)
AccessResearch

NAGA

Dwango Media Village · Service ↗
RulesRiichi
How it thinksConvolutional networks for discards, calls, riichi and kan, trained on Tenhou Houou-table records.
StrengthTenhou 10-dan
AccessPaid review

Mortal

Equim · open source · GitHub ↗
RulesRiichi
How it thinksDeep reinforcement learning in Rust and PyTorch. Speaks mjai and powers community game reviewers.
StrengthNot formally ranked
AccessAGPL-3.0

Kanachan

Cryolite · GitHub ↗
RulesRiichi (Mahjong Soul rules)
How it thinksFramework for training transformer models on Mahjong Soul game records. Ships no trained model.
StrengthNo public model
AccessNo licence
RulesRiichi
How it thinksSearch-based engine that estimates the expected value of each move. Speaks mjai.
StrengthNot formally ranked
AccessNon-commercial

Bakuuchi

University of Tokyo · Paper ↗
RulesRiichi
How it thinksMonte Carlo simulation guided by opponent models learned from expert game records.
StrengthTenhou 9-dan peak, stable 6.59
AccessResearch

Protocols & environments

The plumbing engines plug into: message formats for live play, simulators for training, and ladders for ranking.

Protocol · Riichi

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}
Environment · Riichi

Mjx

Riichi simulator for reinforcement learning, validated against Tenhou logs, about 100× faster than mjai and mjai-compatible.

Platform · Chinese Official (MCR)

Botzone

Bot arena that hosts the yearly IJCAI Mahjong AI Competition in Chinese Standard Mahjong, organised by Peking University's AI Lab.

Toolkit · Simplified

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.

Human ladder

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 rating

Stable dan & R

Estimated long-run rank from placement rates. Better than peak dan because it washes out lucky runs.

Head to head

Duplicate matches

Engines replay the same walls from every seat. Cuts variance enough to separate close bots in thousands of games, not millions.

Mahjong engines by Tenhou strength
EnginePeak Tenhou rankStable rankGamesCan you use it?
LuckyJ10 dan (2023)10.681,321No public release
Suphx10 dan (2019)8.745,760Paper only
NAGA10 dan (per NAGA)6.64 at 8 dan9,649Paid review service
Bakuuchi9 dan6.5930,516Paper only
MortalNo ladder rank––Free reviewer; code AGPL-3.0
AkochanNo 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.

Play, don't just read

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

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.