an interface library for Tenhou's gameserver