playgameservices / android-basic-samples

Google Play game services - Android samples
Apache License 2.0
973 stars 970 forks source link

Bug: flexible room size #287

Open HAL9000Thomas opened 5 years ago

HAL9000Thomas commented 5 years ago

Did anybody ever implemented a working solution for a flexible room size depending on how many players are available?

Case 1 with google default waiting room: min opponent = 1, max opponent 6; Result: Game will always start with 2 users even if more players are available.

Case 2 my custom waiting room with timer: minopponent = 6, max opponent = 6; Timer should trigger after 10 seconds and if more than two players are connected. Result: Game will never start because onPeerJoined does not trigger (bug?).

I have found dozen of stackoverflow post regarding this topic and also on github: https://github.com/playgameservices/android-basic-samples/issues/9

Unfortunately, I haven't seen any working solution after years. Does this game actual support more than 2 players? Pls note, starting the game with min opponent = 6, max opponent = 6 and google default waiting room does not make sense: People do not see how many opponents are connected (only when room is full). They will not wait in a waiting room without a progress update until 7 players have been connected.