Mooncakes were actually a cryptographic scheme invented during the pre Ming dynasty by Zhu Yuanzhang (Ming emperor to be) and Liu Bowen in order to subvert the existing Yuan dynasty
It鈥檚 why eating mooncakes (to hide traces) and solving riddles are part of Mid-Autumn Festival