title: Battleship game advice in java
body: <p>Currently I'm trying to create a battleship game in java. Two player connect to the server, place there ships and start the game. I have created a server and a client. I don't know how to transfer one player's shot coordinates from one player to another. Ship coordinates are stored in List at client side. Which is the best solution for player communication? Maybe player ship coordinates should be sent to server, and the second player will check them on server? Or I should stay with the idea that player sends to another player coordinates and gets the result? Maybe somebody will have a better idea.</p>