Lottery has been in China since ancient times. As early as the Yuan Dynasty, some monasteries used lottery tickets to sell some items. During the Qianjia period of the Qing Dynasty, the people in the Guangdong area produced white pigeon tickets from the pigeon release fairs. After Daoguang, the Wei surname game was popular in Guangdong, that is, when the imperial examinations were taken, everyone raised funds on their own, betting that the scholars in the year would be rewarded. Although these techniques have roughly the shadow of modern lottery tickets, they are still far from the commercial operation of the Luzon tickets issued by Spain at the same stage.