The medieval people even collected taxes for this activity, known as gambling.
It used to be so cultural that Indians were gambling with nuts of the Vibhitaka tree as dice.
There were two forms of gambling in India: Aksa and Devana. Gambling has been a part of Indian culture since the time of Ramayana and Mahabharata. The relationship between gambling and India is way more profound than we perceive.