This is a server-client version of Ma2Jiang4, sometimes called
"Mah-jong" in English.  The rules are complicated and available via
a search engine.
