An algorithm for the Tencent Games "天天爱消除"、"天天连萌".