end-turn -> contest-phase -> confirm-play logic needs some kind of overhaul or new use case. Basically it should flow like this:
1) User 1 clicks on the End Turn button
2) Backend broadcasts a message to all players telling them that it is Contest/Don't Contest phase
3) Players all either click Contest or Don't Contest.
4a) if a Player clicks Contest, resolve contest ( + Confirm Play maybe?) and broadcast to all players that contest is over, its result, whose turn it is now etc
4b) if everyone clicks Don't Contest, resolve Confirm Play and broadcast message saying whose turn it is
end-turn -> contest-phase -> confirm-play logic needs some kind of overhaul or new use case. Basically it should flow like this: 1) User 1 clicks on the End Turn button 2) Backend broadcasts a message to all players telling them that it is Contest/Don't Contest phase 3) Players all either click Contest or Don't Contest. 4a) if a Player clicks Contest, resolve contest ( + Confirm Play maybe?) and broadcast to all players that contest is over, its result, whose turn it is now etc 4b) if everyone clicks Don't Contest, resolve Confirm Play and broadcast message saying whose turn it is