I'm trying to start a challenge match but I have some problems. I'm doing things according to "SNAP game dev guide". Here is how I do it:
- Client 1 (C1) challenges Client 2 (C2): buddy message is sent (it contains uniqe room name based on challanging player userID)
- just after sending message C1 calls gameStart(..)
- C2 recieves message (with the same roomID that C1 sent)
- C2 accepts challange and calls gameStart(..) with exactly the same parameters as C1
I thought once both clients call gameStart (with the same lobby and game room parameters) they would both join the specified game room. However, for both C1 and C2 gameStart doesn't return (it returns after timeout for both clents).