start with multiplayer game

so far I have been able to schedule some local chat with the console. I wanted to make a game for Android multiplayer. I wanted to be straight on how to do it. The game can have up to 2 players. What do I recommend to use as a package? can I start from scratch creating my server from me? How do I load the game on a server? I need advice on where to study thanks

Look at the various networking API’s available, think about how they are implemented and how that would apply to the game you’re trying to make. Consider networking architecture questions and how they relate to your game. Do you need a server? Do you need something like a relay service? Do you want to support local network games? Things like that.

That will help to figure out what networking API you will use, then you dive deeper into how that API works to figure out how to really get it working in your game.