please help me regarding this how to connect two players or users online in one screen to play game in an online game.
I want connect two users in one screen and one button is clickable by one user and second button clickable by another user.
Please help me!
You’ll need a server to relay messages and both clients should connect to that server. Depending on the type of the game, that can be an ordinary web server (for slow games) or a websocket server (for faster and real-time games).
You can also use firebase to sync data between clients. I’ve made a multiplayer PUBG companion app using only map and firebase. It’s actually not finished and probably will never be as it became too complex to further develop it in a drag and drop tool such as Thunkable (App Inventor)