I have developed a turn based game using android studio.I want to add local multiplayer feature to it. Don't need a detailed explanation, I need some idea about the following aspects:-
Do I need a thread for each client?
How can the server identify a client?(Which client device is sending the information or pressing a button)
I saw the code of bluetooth chat application. In that code, only two devices can communicate with one another. But my game has to be played with four players and I can't figure out a way to connect and communicate among four devices.