Networked Battleship game written in Java