hi guys
Im building a turn base online game.
i created a 2 users room, the problem is when i am trying to connect to the room i am checking if there are rooms avilables, if not create a new room, if there are join the avilable room, when i run the game somthimes it creates to saparate rooms (because both players check and there are no rooms avilable )and the player cant play agains each other.
is there a way to check if the room is empty or not ?
thanks in advance
Gal