use c++ to realize a formerly popular game lianliankan