Governments of most developed countries are working on legalizing gambling to bring the industry out of the shadows, ensure the safety of citizens, and make it a source of revenue for the budget.