legal framework for operating games of chance in casinos