With the development of digital media and the continuous application of digital technologies means in the communication and inheritance of intangible cultural heritage, more and more intangible cultural heritage has found a new way out. However, there are still some problems in the communication and inheritance of intangible heritage, such as difficulty in retaining new blood, superficial output content, and boring long process content in the recording process. This paper takes Dunhuang non-legacy literature as an example, analyzes the current problems of the communication and inheritance of intangible cultural heritage, and puts forward the countermeasures and advantages of introducing puzzle games as a means of communication of long content.