Tang Difei, a modern college student who likes wooden toys, accidentally traveled to the late Ming Dynasty during the Tianqi period, where he worked as a carpenter apprentice. He was admired by the emperor who also liked wooden toys and was appointed to the wooden palace. He also met various talented heroes and literary masters, found a confidante, supported justice, and helped get rid of Wei Zhongxian, who was a great harm to the imperial court. Later, he learned basic martial arts under the guidance of an expert and went to the northeast to resist the Nurhachi army. Using the carpentry knowledge he learned, he successfully repelled the enemy's attacks one after another and defended the Ming Dynasty. Later in the Xin Dynasty, he chose to go into seclusion and write poems about the mountains and rivers with his confidante.