server + client to realize majiang game