There was an idea to create a sea battle online for Android. The game is already ready, but here’s the problem: I don’t know how to get two players to drive into one room when searching for a game. Those. in the main menu there is a button to search for the game, click and wait until there is another player, as there is - both players are driven into the same room and play sea battle.
If the solutions are obvious to you, please share it, because I do not know how to implement it. At least briefly in steps, what to do.