Socket to socket battleship game written in Java