Moon-cake gambling is a Chinese dice game traditionally played as part of the celebration of the Mid-Autumn Festival. It is traditionally played with six dice and a china bowl.
The game dates back to the 1600s when it is said to have been invented by the Chinese general Koxinga of the Southern Ming, along with his lower officer Hong Xu. The game was an attempt to boost the morale of Tiⁿ's homesick troops during the Mid-Autumn Festival. The game became popular in Amoy (now Xiamen) and is considered a folk game.
The Chinese name "Bo Bing" translates as "gambling for cakes", and the game traditionally has 63 different sized mooncakes as prizes for the winning players: 32 of the smallest cake, half as many of the next largest, and so on ending with a single large mooncake. In modern times, the game's instructions are often printed on mooncake packaging, although the game is also played with prizes of daily necessities, household appliances or money.