As per the legend, Maa Parvati played a game of Dice with her husband Shiva, and declared that anyone gambling on the night of Diwali would gain prosperity and luck.