The Encore Boston Harbor casino made $16.8 million in gambling revenue between its opening June 23 and June 30, according to figures released today by the state Gaming Commission.

Roughly $9.1 million came from people playing slots and $7.7 million from people playing table games, according to the figures.

In contrast, the MGM Springfield casino earned about $20 million for the entire month of June, the commission says.

The Encore figures will mean $4.2 million in state tax revenue, according to the commission.