In the old days, gingerbread houses were used by witches to lure and fatten up children to be eaten.
Local kids soon started gambling on whether a witch had eaten that day so they could help themselves to as much candy as they could carry, dodging the torpid witch and running off into the forest.