The Pennsylvania Supreme Court dismissed a petition by a group of casinos that argued the state’s tax on slot machines was unfair because the state’s 70,000 “skill game” terminals aren’t taxed.

The order on Tuesday comes after the justices ruled in June that skill games, which promise players big payouts based on an element of skill rather than just pure luck, operate as unlicensed and unregulated slot machines. The court gave the legislature until mid-October to set up a legal system for the terminals.

The casinos asked the justices two years ago to either apply the 50% tax to all …