Mahjong controller