one or two player battleship game in Java