Aleuromancy
Aleuromancy (Greek aleuron, flour) is divination using flour balls containing messages written on paper. The asker pulls one at random and reads the answer. Ancient Greek practice, dedicated to Apollo Aleuromantos. The Chinese fortune cookie is a modern descendant of the same principle.
Modern variants
Cake of kings (Galette des Rois, Roscón de Reyes), Brazilian "bilhetes da sorte" — variations of the principle: random tasting reveals a message.