The code of the American Gaming Association calls on casino operators to be more transparent with patrons and provide training to employees. Its announcement in Las Vegas came within months of two high-profile criminal cases that drew attention to the effects of compulsive gambling as authorities believe the perpetrators were problem gamblers.