The custom of Mid Autumn Festival cakes originated in Xiamen, Fujian, and was popular in places such as Longhai in Zhangzhou, Anhai in Quanzhou, and Jinmen County. It was recorded in the "Taiwan Prefecture Annals" during the Kangxi and Qianlong periods of the Qing Dynasty. The Mid Autumn Festival cake, originated in Tong'an County, Quanzhou Prefecture, Fujian Province (today's Xiamen, Fujian Province), was invented by Zheng Chenggong. It is a popular entertainment activity during the Mid-Autumn Festival. The participants' prizes are determined by the combination of six dice thrown results. The traditional prizes are mooncakes of different sizes, totaling one prize. There is one champion, two matchups, four red ones, eight four in, sixteen two in, and thirty-two one in. It is said that this game can predict a person's luck within the next year.