Seven casinos in Pennsylvania are taking the Pennsylvania Lottery to court.