It looked like the city of Everett had won its poker game with Boston over attracting a new casino — but Boston’s playing a new hand. The city filed a lawsuit on Monday, saying the future of the $1.6 billion Everett casino should be up to the residents of Charlestown.

Boston Mayor Marty Walsh says the only legal road to the Everett casino would run through Charlestown, so residents in that community should get to vote on what happens with the casino.

“I think it’s important to have a Charlestown vote, just like we did in East Boston," Walsh said. "The folks of East Boston had a chance to vote. [Charlestown] is the most impacted community, that happens to be in the back yard where the casino would go."

The lawsuit says the only legal road to the planned Everett casino goes right through Charlestown, which is already dealing with traffic issues.

“If this license is enforced, the Gaming Commission, by failing to put in adequate mitigation will have created a nightmare for people in the city of Boston, most specifically Charlestown," said Tom Frongillo, an attorney representing Boston. "And we seek to eradicate that."

So far voters in several communities and even statewide have weighed in on casinos, and the city of Boston is asking for one more vote. Frongillo says Charlestown should be considered a host community, which means they’d get to vote on the future of the casino.

East Boston residents rejected a casino plan for Suffolk Downs in 2013. Walsh says Charlestown should also be offered a traffic mitigation plan. The new lawsuit is being filed now because Walsh says developer Wynn missed a deadline to submit an alternate plan for a road to the casino that runs just through Everett. A spokesperson for the Massachusetts Gaming Commission says they’ve already addressed the issues raised in the lawsuit, and that the decision to award the license to Wynn was appropriate. The lawsuit comes on the same day that Wynn announced it closed the deal on the Everett property.

On Greater Boston, Lasell College political science professor and gambling regulation expert Paul DeBole discussed whether these legal battles could really derail the plans in Everett: