Ancient Indian texts shows that gambling was a part of people's life.
Type of gambling may vary from country to country/people to people.
Gambling habit had started one of the biggest wars of Indian History i.e. Mahaabhaarata.
Here is an article about it if you wants to know more:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2910357/